summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Kibirev <olegk@google.com>2023-11-29 19:02:27 +0000
committerCherrypicker Worker <android-build-cherrypicker-worker@google.com>2023-11-29 19:10:20 +0000
commit654adad60d0af62dc83b3aa2d92ef5d0e7c08f9d (patch)
tree8894c296f7cfe60c085ff50e8c978626a66a8b79
parent7db7dc027846512592ba6b9a80a1f3e049a0f497 (diff)
downloadTvSettings-654adad60d0af62dc83b3aa2d92ef5d0e7c08f9d.tar.gz
Fix suggestions not being highlighted when selected
Tested: manual, on ATV and GTV Bug: 262758215 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a6df92c228c100ef8abcd3a25cac04d152e02ce1) Merged-In: Ic51d04c2e8230feeaa9ce8be035f7144906595e1 Change-Id: Ic51d04c2e8230feeaa9ce8be035f7144906595e1
-rw-r--r--Settings/res/layout/suggestion_item.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Settings/res/layout/suggestion_item.xml b/Settings/res/layout/suggestion_item.xml
index fd0563607..5698491bd 100644
--- a/Settings/res/layout/suggestion_item.xml
+++ b/Settings/res/layout/suggestion_item.xml
@@ -26,6 +26,7 @@
android:id="@+id/main_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:addStatesFromChildren="true"
android:background="?android:attr/selectableItemBackground"
android:clickable="true"
android:focusable="false"