Skip to content

Commit

Permalink
[UI/#9] 버튼 클릭 시 색상 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Jan 4, 2024
1 parent 4948b47 commit 295d451
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
8 changes: 4 additions & 4 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</activity>

<activity
android:name="com.going.presentation.mock.MockActivity"
android:name="com.going.presentation.preferencetag.PreferenceTagActivity"
android:exported="true"
android:screenOrientation="portrait">
<intent-filter>
Expand All @@ -53,9 +53,9 @@
android:name="com.going.presentation.tendencytest.TendencyTestActivity"
android:exported="true" />

<activity
android:name="com.going.presentation.preferencetag.PreferenceTagActivity"
android:exported="true" />
<!-- <activity-->
<!-- android:name="com.going.presentation.preferencetag.PreferenceTagActivity"-->
<!-- android:exported="true" />-->

</application>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@color/white_000" android:state_checked="true" />
<item android:color="@color/black_000" />
</selector>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="true">
<shape>
<solid android:color="@color/red_500" />
<solid android:color="@color/black_000" />
<corners android:radius="24dp" />
</shape>
</item>
Expand Down
16 changes: 11 additions & 5 deletions presentation/src/main/res/layout/item_preference_tag.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@
android:background="@drawable/sel_rounded_corner_preference_tag_button"
android:gravity="center"
android:text="1"
android:textAppearance="@style/TextAppearance.Doorip.Body3.Medi" />
android:textAppearance="@style/TextAppearance.Doorip.Body3.Medi"
android:textColor="@drawable/sel_radiobutton_text_color" />


<RadioButton
android:id="@+id/rb_preference_2"
Expand All @@ -91,7 +93,8 @@
android:layout_marginEnd="17dp"
android:background="@drawable/sel_rounded_corner_preference_tag_button"
android:gravity="center"
android:text="2" />
android:text="2"
android:textColor="@drawable/sel_radiobutton_text_color" />

<RadioButton
android:id="@+id/rb_preference_3"
Expand All @@ -101,7 +104,8 @@
android:layout_marginEnd="17dp"
android:background="@drawable/sel_rounded_corner_preference_tag_button"
android:gravity="center"
android:text="3" />
android:text="3"
android:textColor="@drawable/sel_radiobutton_text_color" />

<RadioButton
android:id="@+id/rb_preference_4"
Expand All @@ -111,7 +115,8 @@
android:layout_marginEnd="17dp"
android:background="@drawable/sel_rounded_corner_preference_tag_button"
android:gravity="center"
android:text="4" />
android:text="4"
android:textColor="@drawable/sel_radiobutton_text_color" />

<RadioButton
android:id="@+id/rb_preference_5"
Expand All @@ -120,7 +125,8 @@
android:layout_height="48dp"
android:background="@drawable/sel_rounded_corner_preference_tag_button"
android:gravity="center"
android:text="5" />
android:text="5"
android:textColor="@drawable/sel_radiobutton_text_color" />

</RadioGroup>

Expand Down

0 comments on commit 295d451

Please sign in to comment.