Skip to content

Commit

Permalink
#168 modify rename drawable res file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jokwanhee committed Feb 20, 2024
1 parent d33f35e commit 79576da
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class JjButton @JvmOverloads constructor(

fun setErrorBackground() {
setTextColor(context.getColor(R.color.color_FF7F23))
setBackgroundResource(R.drawable.jj_button_error)
setBackgroundResource(R.drawable.jj_button_rect_solid_ffffff_stroke_ff7f23_radius_100)
elevation = 0f
}

Expand Down
4 changes: 2 additions & 2 deletions jj_design/src/main/res/drawable/jj_button_selector.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:state_enabled="true"
android:drawable="@drawable/jj_button_enabled"/>
android:drawable="@drawable/jj_button_rect_solid_ff7f23_radius_100"/>
<item
android:state_enabled="false"
android:drawable="@drawable/jj_button_disabled"/>
android:drawable="@drawable/jj_button_rect_solid_c4c4c4_radius_100"/>
</selector>

0 comments on commit 79576da

Please sign in to comment.