summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar t8952024-01-25 20:42:23 -0500
committerGravatar t8952024-01-25 20:42:23 -0500
commit91636deaaf58c82d8352f8c51e4e20c26e5b402d (patch)
tree5c63aa839b4fc8818aaead3724ad40a117a5b5b6 /src
parentandroid: Focus on the in game menu when opened (diff)
downloadyuzu-91636deaaf58c82d8352f8c51e4e20c26e5b402d.tar.gz
yuzu-91636deaaf58c82d8352f8c51e4e20c26e5b402d.tar.xz
yuzu-91636deaaf58c82d8352f8c51e4e20c26e5b402d.zip
android: Disable focus for the root of cards that contain buttons
Diffstat (limited to 'src')
-rw-r--r--src/android/app/src/main/res/layout/card_driver_option.xml1
-rw-r--r--src/android/app/src/main/res/layout/card_folder.xml6
-rw-r--r--src/android/app/src/main/res/layout/list_item_addon.xml2
-rw-r--r--src/android/app/src/main/res/layout/list_item_settings_header.xml1
4 files changed, 5 insertions, 5 deletions
diff --git a/src/android/app/src/main/res/layout/card_driver_option.xml b/src/android/app/src/main/res/layout/card_driver_option.xml
index 1dd9a6d7d..bda524f0f 100644
--- a/src/android/app/src/main/res/layout/card_driver_option.xml
+++ b/src/android/app/src/main/res/layout/card_driver_option.xml
@@ -23,6 +23,7 @@
23 android:layout_width="wrap_content" 23 android:layout_width="wrap_content"
24 android:layout_height="wrap_content" 24 android:layout_height="wrap_content"
25 android:layout_gravity="center_vertical" 25 android:layout_gravity="center_vertical"
26 android:focusable="false"
26 android:clickable="false" 27 android:clickable="false"
27 android:checked="false" /> 28 android:checked="false" />
28 29
diff --git a/src/android/app/src/main/res/layout/card_folder.xml b/src/android/app/src/main/res/layout/card_folder.xml
index 4e0c04b6b..ed4a7ca8f 100644
--- a/src/android/app/src/main/res/layout/card_folder.xml
+++ b/src/android/app/src/main/res/layout/card_folder.xml
@@ -6,16 +6,14 @@
6 android:layout_width="match_parent" 6 android:layout_width="match_parent"
7 android:layout_height="wrap_content" 7 android:layout_height="wrap_content"
8 android:layout_marginHorizontal="16dp" 8 android:layout_marginHorizontal="16dp"
9 android:layout_marginVertical="12dp" 9 android:layout_marginVertical="12dp">
10 android:focusable="true">
11 10
12 <androidx.constraintlayout.widget.ConstraintLayout 11 <androidx.constraintlayout.widget.ConstraintLayout
13 android:layout_width="match_parent" 12 android:layout_width="match_parent"
14 android:layout_height="wrap_content" 13 android:layout_height="wrap_content"
15 android:orientation="horizontal" 14 android:orientation="horizontal"
16 android:padding="16dp" 15 android:padding="16dp"
17 android:layout_gravity="center_vertical" 16 android:layout_gravity="center_vertical">
18 android:animateLayoutChanges="true">
19 17
20 <com.google.android.material.textview.MaterialTextView 18 <com.google.android.material.textview.MaterialTextView
21 android:id="@+id/path" 19 android:id="@+id/path"
diff --git a/src/android/app/src/main/res/layout/list_item_addon.xml b/src/android/app/src/main/res/layout/list_item_addon.xml
index 3a1382fe2..9b1c0e6fc 100644
--- a/src/android/app/src/main/res/layout/list_item_addon.xml
+++ b/src/android/app/src/main/res/layout/list_item_addon.xml
@@ -6,7 +6,7 @@
6 android:layout_width="match_parent" 6 android:layout_width="match_parent"
7 android:layout_height="wrap_content" 7 android:layout_height="wrap_content"
8 android:background="?attr/selectableItemBackground" 8 android:background="?attr/selectableItemBackground"
9 android:focusable="true" 9 android:focusable="false"
10 android:paddingHorizontal="20dp" 10 android:paddingHorizontal="20dp"
11 android:paddingVertical="16dp"> 11 android:paddingVertical="16dp">
12 12
diff --git a/src/android/app/src/main/res/layout/list_item_settings_header.xml b/src/android/app/src/main/res/layout/list_item_settings_header.xml
index 21276b19e..615860368 100644
--- a/src/android/app/src/main/res/layout/list_item_settings_header.xml
+++ b/src/android/app/src/main/res/layout/list_item_settings_header.xml
@@ -12,4 +12,5 @@
12 android:textAlignment="viewStart" 12 android:textAlignment="viewStart"
13 android:textColor="?attr/colorPrimary" 13 android:textColor="?attr/colorPrimary"
14 android:textStyle="bold" 14 android:textStyle="bold"
15 android:focusable="false"
15 tools:text="CPU Settings" /> 16 tools:text="CPU Settings" />