Skip to content

Commit

Permalink
[Design/#1] button enabled 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
ss99x2002 committed Jul 3, 2023
1 parent 797043a commit 2525d2a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions app/src/main/res/drawable/sel_invite_code_btn_next.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">

<item android:drawable="@drawable/shape_g300_fill_r50_rect" android:state_enabled="false"/>
<item android:drawable="@drawable/shape_black_fill_r50_rect" android:state_enabled="true"/>
</selector>
3 changes: 2 additions & 1 deletion app/src/main/res/layout/activity_invite_code.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
android:textColor="@color/white"
android:text="@string/invite_code_next"
android:textSize="16sp"
android:background="@drawable/shape_g300_fill_r50_rect"
android:enabled="false"
android:background="@drawable/sel_invite_code_btn_next"
android:layout_marginHorizontal="24dp"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>

0 comments on commit 2525d2a

Please sign in to comment.