aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/res/layout/add_tunnels_bottom_sheet.xml
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-09-20 13:32:31 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-09-20 13:33:48 +0530
commit7cff4367d7026b5ed2c93fb97735e2146dcecbc1 (patch)
tree9bb0b487bf25182c79204c643d66ba7e9fc17d06 /ui/src/main/res/layout/add_tunnels_bottom_sheet.xml
parentversion: bump (diff)
downloadwireguard-android-7cff4367d7026b5ed2c93fb97735e2146dcecbc1.tar.xz
wireguard-android-7cff4367d7026b5ed2c93fb97735e2146dcecbc1.zip
ui: add navigation hints for D-Pad and IME
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui/src/main/res/layout/add_tunnels_bottom_sheet.xml')
-rw-r--r--ui/src/main/res/layout/add_tunnels_bottom_sheet.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/src/main/res/layout/add_tunnels_bottom_sheet.xml b/ui/src/main/res/layout/add_tunnels_bottom_sheet.xml
index 41cfe8bd..68f186b6 100644
--- a/ui/src/main/res/layout/add_tunnels_bottom_sheet.xml
+++ b/ui/src/main/res/layout/add_tunnels_bottom_sheet.xml
@@ -15,6 +15,8 @@
android:layout_marginLeft="@dimen/normal_margin"
android:layout_marginEnd="@dimen/normal_margin"
android:layout_marginRight="@dimen/normal_margin"
+ android:nextFocusDown="@id/create_from_qrcode"
+ android:nextFocusForward="@id/create_from_qrcode"
android:text="@string/create_from_file"
android:textAlignment="viewStart"
android:textColor="?attr/colorOnSurface"
@@ -36,6 +38,9 @@
android:layout_marginLeft="@dimen/normal_margin"
android:layout_marginEnd="@dimen/normal_margin"
android:layout_marginRight="@dimen/normal_margin"
+ android:nextFocusUp="@id/create_from_file"
+ android:nextFocusDown="@id/create_empty"
+ android:nextFocusForward="@id/create_empty"
android:text="@string/create_from_qr_code"
android:textAlignment="viewStart"
android:textColor="?attr/colorOnSurface"
@@ -57,6 +62,7 @@
android:layout_marginLeft="@dimen/normal_margin"
android:layout_marginEnd="@dimen/normal_margin"
android:layout_marginRight="@dimen/normal_margin"
+ android:nextFocusUp="@id/create_from_qrcode"
android:text="@string/create_empty"
android:textAlignment="viewStart"
android:textColor="?attr/colorOnSurface"