aboutsummaryrefslogtreecommitdiff
path: root/RotaryPlayground
diff options
context:
space:
mode:
authorDanny Epstein <depstein@google.com>2021-01-21 17:28:06 -0800
committerDanny Epstein <depstein@google.com>2021-01-22 11:29:00 -0800
commitb8d049676c688f40828632026dc4e055fbd3fff3 (patch)
tree803fb54011d1de9bba3bbf1c90d975ade6d9ae6d /RotaryPlayground
parentd2a33c0982a8047ebb94f9214b7b229c0f924604 (diff)
downloadtests-b8d049676c688f40828632026dc4e055fbd3fff3.tar.gz
Test wrap-around in the Rotary Playground app
Enable wrap-around in the top-left FocusArea in the Custom FocusAreas tab. Test: rotate in the top-left FocusArea in the Custom FocusAreas tab Test: rotate in other FocusAreas Bug: 177373453 Change-Id: I1eb2ddaeed048b0bf75da6e0761417dd3d4b91a0
Diffstat (limited to 'RotaryPlayground')
-rw-r--r--RotaryPlayground/res/layout/custom_focus_areas_fragment.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/RotaryPlayground/res/layout/custom_focus_areas_fragment.xml b/RotaryPlayground/res/layout/custom_focus_areas_fragment.xml
index ea6a0b0..2750aab 100644
--- a/RotaryPlayground/res/layout/custom_focus_areas_fragment.xml
+++ b/RotaryPlayground/res/layout/custom_focus_areas_fragment.xml
@@ -34,7 +34,12 @@
android:layout_margin="@dimen/margin"
android:gravity="center"
android:orientation="vertical"
- android:background="@color/card_background_color">
+ android:background="@color/card_background_color"
+ app:wrapAround="true">
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Wrap-around enabled"/>
<Button
android:layout_width="wrap_content"
android:layout_height="@dimen/button_height"
@@ -47,7 +52,6 @@
android:focusedByDefault="true"
android:text="android:focusedByDefault"/>
<Button
- android:id="@+id/default_focus1"
android:layout_width="wrap_content"
android:layout_height="@dimen/button_height"
android:paddingHorizontal="@dimen/padding"