From 326d4183bbb8dc3cf1d90bba7ff9066b4596144a Mon Sep 17 00:00:00 2001 From: Danny Epstein Date: Tue, 4 May 2021 17:36:08 -0700 Subject: 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 --- RotaryPlayground/res/layout/custom_focus_areas_fragment.xml | 3 +-- 1 file changed, 1 insertion(+), 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">