diff options
| author | t895 <clombardo169@gmail.com> | 2024-01-25 20:42:23 -0500 | 
|---|---|---|
| committer | t895 <clombardo169@gmail.com> | 2024-01-25 20:42:23 -0500 | 
| commit | 91636deaaf58c82d8352f8c51e4e20c26e5b402d (patch) | |
| tree | 5c63aa839b4fc8818aaead3724ad40a117a5b5b6 | |
| parent | 68cbf67f4c852d0dc3745dcacc8f0a40e4595f1d (diff) | |
android: Disable focus for the root of cards that contain buttons
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 @@              android:layout_width="wrap_content"              android:layout_height="wrap_content"              android:layout_gravity="center_vertical" +            android:focusable="false"              android:clickable="false"              android:checked="false" /> 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 @@      android:layout_width="match_parent"      android:layout_height="wrap_content"      android:layout_marginHorizontal="16dp" -    android:layout_marginVertical="12dp" -    android:focusable="true"> +    android:layout_marginVertical="12dp">      <androidx.constraintlayout.widget.ConstraintLayout          android:layout_width="match_parent"          android:layout_height="wrap_content"          android:orientation="horizontal"          android:padding="16dp" -        android:layout_gravity="center_vertical" -        android:animateLayoutChanges="true"> +        android:layout_gravity="center_vertical">          <com.google.android.material.textview.MaterialTextView              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 @@      android:layout_width="match_parent"      android:layout_height="wrap_content"      android:background="?attr/selectableItemBackground" -    android:focusable="true" +    android:focusable="false"      android:paddingHorizontal="20dp"      android:paddingVertical="16dp"> 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 @@      android:textAlignment="viewStart"      android:textColor="?attr/colorPrimary"      android:textStyle="bold" +    android:focusable="false"      tools:text="CPU Settings" /> | 
