diff options
author | 2020-09-20 13:32:31 +0530 | |
---|---|---|
committer | 2020-09-20 13:33:48 +0530 | |
commit | 7cff4367d7026b5ed2c93fb97735e2146dcecbc1 (patch) | |
tree | 9bb0b487bf25182c79204c643d66ba7e9fc17d06 /ui/src/main/res/layout/tunnel_list_fragment.xml | |
parent | version: bump (diff) | |
download | wireguard-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/tunnel_list_fragment.xml')
-rw-r--r-- | ui/src/main/res/layout/tunnel_list_fragment.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/src/main/res/layout/tunnel_list_fragment.xml b/ui/src/main/res/layout/tunnel_list_fragment.xml index 277ecd0..5d39d3a 100644 --- a/ui/src/main/res/layout/tunnel_list_fragment.xml +++ b/ui/src/main/res/layout/tunnel_list_fragment.xml @@ -33,6 +33,8 @@ android:layout_height="match_parent" android:choiceMode="multipleChoiceModal" android:clipToPadding="false" + android:nextFocusDown="@id/create_fab" + android:nextFocusForward="@id/create_fab" android:paddingBottom="@{@dimen/design_fab_size_normal * 1.1f}" android:visibility="@{tunnels.size() > 0 ? android.view.View.VISIBLE : android.view.View.GONE}" app:configurationHandler="@{rowConfigurationHandler}" @@ -72,6 +74,7 @@ android:layout_height="wrap_content" android:layout_gravity="bottom|end" android:layout_margin="@dimen/fab_margin" + android:nextFocusUp="@id/tunnel_list" app:srcCompat="@drawable/ic_action_add_white" /> </androidx.coordinatorlayout.widget.CoordinatorLayout> |