From f9454042a4d4d1fef63da984a8ef7287685a661d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=AA=85=EC=84=9D?= Date: Thu, 2 Mar 2023 05:22:18 +0900 Subject: [PATCH] =?UTF-8?q?Issues=20#287=20feat:=20setting=20item=20button?= =?UTF-8?q?=20=EC=97=90=20ripple=20effect=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- features/ui-setting/src/main/res/layout/item_button.xml | 5 ++++- .../ui-setting/src/main/res/layout/item_state_button.xml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/features/ui-setting/src/main/res/layout/item_button.xml b/features/ui-setting/src/main/res/layout/item_button.xml index 35f5d7227..18428a4c1 100644 --- a/features/ui-setting/src/main/res/layout/item_button.xml +++ b/features/ui-setting/src/main/res/layout/item_button.xml @@ -6,5 +6,8 @@ style="@style/Theme.BEEP.SettingTextView" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingVertical="16dp"/> + android:paddingVertical="16dp" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground"/> \ No newline at end of file diff --git a/features/ui-setting/src/main/res/layout/item_state_button.xml b/features/ui-setting/src/main/res/layout/item_state_button.xml index bb6f895e5..fa58e198f 100644 --- a/features/ui-setting/src/main/res/layout/item_state_button.xml +++ b/features/ui-setting/src/main/res/layout/item_state_button.xml @@ -4,7 +4,10 @@ + android:layout_height="wrap_content" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground">