aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Epstein <depstein@google.com>2021-05-04 17:36:08 -0700
committerDanny Epstein <depstein@google.com>2021-05-04 17:36:08 -0700
commit326d4183bbb8dc3cf1d90bba7ff9066b4596144a (patch)
tree478eb6507f114c2a411485b371d2f34437da3b1a
parent3ea627f47fb4ec4cf3e60397ce3585bf72deacd8 (diff)
downloadtests-326d4183bbb8dc3cf1d90bba7ff9066b4596144a.tar.gz
Use new nudge shortcut attributes
Migrate from the old nudge shortcut attributes that only let you specify a single shortcut to the new attributes that let you specify up to four shortcuts. Bug: 187223909 Test: manually nudge in custom focus area tab of Rotary Playground Change-Id: Ia2c5a244198335e0f9918bfb123299561ea31abd
-rw-r--r--RotaryPlayground/res/layout/custom_focus_areas_fragment.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/RotaryPlayground/res/layout/custom_focus_areas_fragment.xml b/RotaryPlayground/res/layout/custom_focus_areas_fragment.xml
index 2750aab..7ae06ea 100644
--- a/RotaryPlayground/res/layout/custom_focus_areas_fragment.xml
+++ b/RotaryPlayground/res/layout/custom_focus_areas_fragment.xml
@@ -167,8 +167,7 @@
android:gravity="center"
android:orientation="vertical"
android:background="@color/card_background_color"
- app:nudgeShortcut="@+id/nudge_shortcut"
- app:nudgeShortcutDirection="up">
+ app:nudgeUpShortcut="@+id/nudge_shortcut">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"