aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--RotaryPlayground/res/layout/rotary_cards.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/RotaryPlayground/res/layout/rotary_cards.xml b/RotaryPlayground/res/layout/rotary_cards.xml
index e3d9e87..b197058 100644
--- a/RotaryPlayground/res/layout/rotary_cards.xml
+++ b/RotaryPlayground/res/layout/rotary_cards.xml
@@ -52,12 +52,15 @@
android:layout_width="@dimen/card_width"
android:layout_height="match_parent"
android:padding="@dimen/card_padding"
- android:orientation="vertical">
+ android:orientation="vertical"
+ app:nudgeShortcut="@+id/button1"
+ app:nudgeShortcutDirection="up">
<TextView
android:layout_height="@dimen/description_height"
android:layout_width="match_parent"
android:text="@string/card_normal_text" />
<Button
+ android:id="@+id/button1"
android:layout_width="match_parent"
android:layout_height="50dp"
android:onClick="onRotaryButtonClick"