aboutsummaryrefslogtreecommitdiff
path: root/RotaryPlayground
diff options
context:
space:
mode:
authorDanny Epstein <depstein@google.com>2020-11-30 21:14:42 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-11-30 21:14:42 +0000
commit2c08edb3e6181035fb9e1692b9416b767c61271c (patch)
treec7be1fc465d4a87087a460f994e4626d117c430a /RotaryPlayground
parent10a314a664c560d78577fbfdb5be78d5644abe63 (diff)
parentc26cc2cf4a8dac2548e5666815aeef66ef4daaa2 (diff)
downloadtests-2c08edb3e6181035fb9e1692b9416b767c61271c.tar.gz
Use custom app:rotaryScrollEnabled attribute am: d2a33c0982 am: c26cc2cf4a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/13114489 Change-Id: Ib1a67832d59d5f2c011fa1ef4bb32307d9ff19a9
Diffstat (limited to 'RotaryPlayground')
-rw-r--r--RotaryPlayground/res/layout/rotary_scroll.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/RotaryPlayground/res/layout/rotary_scroll.xml b/RotaryPlayground/res/layout/rotary_scroll.xml
index 843a380..ed550cd 100644
--- a/RotaryPlayground/res/layout/rotary_scroll.xml
+++ b/RotaryPlayground/res/layout/rotary_scroll.xml
@@ -17,6 +17,7 @@
<com.android.car.ui.FocusArea
xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
@@ -33,11 +34,10 @@
with interactive (focusable) content. -->
<com.android.car.ui.recyclerview.CarUiRecyclerView
android:id="@+id/rotary_scroll_view"
- android:contentDescription="com.android.car.ui.utils.VERTICALLY_SCROLLABLE"
android:layout_width="match_parent"
android:layout_height="0dp"
- android:layout_weight="1"/>
- <!-- TODO(b/171339427) Use app:rotaryScrollEnabled instead of contentDescription. -->
+ android:layout_weight="1"
+ app:rotaryScrollEnabled="true"/>
<EditText
android:layout_width="match_parent"