From ee84015e1d5fb195670563f9ac48010718fc7f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=94=E6=B2=B3=E3=80=80=E7=90=B4=E9=87=8C?= <138137644+rts-kotori@users.noreply.github.com> Date: Sat, 10 Aug 2024 18:33:28 +0900 Subject: [PATCH] Add keyboard only navigation support to fragment_login_server_selection fragment --- vector/src/main/res/drawable/bg_login_server_selector.xml | 3 ++- .../src/main/res/layout/fragment_login_server_selection.xml | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/vector/src/main/res/drawable/bg_login_server_selector.xml b/vector/src/main/res/drawable/bg_login_server_selector.xml index 3fcc4e006a..f9733bb5d2 100644 --- a/vector/src/main/res/drawable/bg_login_server_selector.xml +++ b/vector/src/main/res/drawable/bg_login_server_selector.xml @@ -2,8 +2,9 @@ + - \ No newline at end of file + diff --git a/vector/src/main/res/layout/fragment_login_server_selection.xml b/vector/src/main/res/layout/fragment_login_server_selection.xml index 1e25c63b4a..910643ba78 100644 --- a/vector/src/main/res/layout/fragment_login_server_selection.xml +++ b/vector/src/main/res/layout/fragment_login_server_selection.xml @@ -52,6 +52,8 @@ android:layout_marginTop="24dp" android:background="@drawable/bg_login_server_selector" android:contentDescription="@string/login_a11y_connect_using_matrix_id_sc" + android:clickable="true" + android:focusable="true" android:minHeight="80dp" android:paddingStart="@dimen/layout_horizontal_margin" android:paddingEnd="@dimen/layout_horizontal_margin" @@ -95,6 +97,8 @@ android:layout_marginTop="@dimen/layout_vertical_margin" android:background="@drawable/bg_login_server_selector" android:contentDescription="@string/login_a11y_choose_other_sc" + android:clickable="true" + android:focusable="true" android:minHeight="80dp" android:paddingStart="@dimen/layout_horizontal_margin" android:paddingEnd="@dimen/layout_horizontal_margin" @@ -138,6 +142,8 @@ android:layout_marginTop="@dimen/layout_vertical_margin" android:background="@drawable/bg_login_server_selector" android:contentDescription="@string/login_a11y_choose_matrix_org" + android:clickable="true" + android:focusable="true" android:minHeight="80dp" android:paddingStart="@dimen/layout_horizontal_margin" android:paddingEnd="@dimen/layout_horizontal_margin"