Add keyboard only navigation support to fragment_login_server_selection fragment

This commit is contained in:
五河 琴里 2024-08-10 18:33:28 +09:00
parent d2535cdb7e
commit ee84015e1d
No known key found for this signature in database
2 changed files with 8 additions and 1 deletions

View File

@ -2,8 +2,9 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/bg_login_server_checked" android:state_checked="true" />
<item android:drawable="@drawable/bg_login_server_checked" android:state_focused="true" />
<item android:drawable="@drawable/bg_login_server_checked" android:state_pressed="true" />
<item android:drawable="@drawable/bg_login_server" />
</selector>
</selector>

View File

@ -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"