android: Disable focus for the root of cards that contain buttons
This commit is contained in:
		| @@ -23,6 +23,7 @@ | |||||||
|             android:layout_width="wrap_content" |             android:layout_width="wrap_content" | ||||||
|             android:layout_height="wrap_content" |             android:layout_height="wrap_content" | ||||||
|             android:layout_gravity="center_vertical" |             android:layout_gravity="center_vertical" | ||||||
|  |             android:focusable="false" | ||||||
|             android:clickable="false" |             android:clickable="false" | ||||||
|             android:checked="false" /> |             android:checked="false" /> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -6,16 +6,14 @@ | |||||||
|     android:layout_width="match_parent" |     android:layout_width="match_parent" | ||||||
|     android:layout_height="wrap_content" |     android:layout_height="wrap_content" | ||||||
|     android:layout_marginHorizontal="16dp" |     android:layout_marginHorizontal="16dp" | ||||||
|     android:layout_marginVertical="12dp" |     android:layout_marginVertical="12dp"> | ||||||
|     android:focusable="true"> |  | ||||||
|  |  | ||||||
|     <androidx.constraintlayout.widget.ConstraintLayout |     <androidx.constraintlayout.widget.ConstraintLayout | ||||||
|         android:layout_width="match_parent" |         android:layout_width="match_parent" | ||||||
|         android:layout_height="wrap_content" |         android:layout_height="wrap_content" | ||||||
|         android:orientation="horizontal" |         android:orientation="horizontal" | ||||||
|         android:padding="16dp" |         android:padding="16dp" | ||||||
|         android:layout_gravity="center_vertical" |         android:layout_gravity="center_vertical"> | ||||||
|         android:animateLayoutChanges="true"> |  | ||||||
|  |  | ||||||
|         <com.google.android.material.textview.MaterialTextView |         <com.google.android.material.textview.MaterialTextView | ||||||
|             android:id="@+id/path" |             android:id="@+id/path" | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ | |||||||
|     android:layout_width="match_parent" |     android:layout_width="match_parent" | ||||||
|     android:layout_height="wrap_content" |     android:layout_height="wrap_content" | ||||||
|     android:background="?attr/selectableItemBackground" |     android:background="?attr/selectableItemBackground" | ||||||
|     android:focusable="true" |     android:focusable="false" | ||||||
|     android:paddingHorizontal="20dp" |     android:paddingHorizontal="20dp" | ||||||
|     android:paddingVertical="16dp"> |     android:paddingVertical="16dp"> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -12,4 +12,5 @@ | |||||||
|     android:textAlignment="viewStart" |     android:textAlignment="viewStart" | ||||||
|     android:textColor="?attr/colorPrimary" |     android:textColor="?attr/colorPrimary" | ||||||
|     android:textStyle="bold" |     android:textStyle="bold" | ||||||
|  |     android:focusable="false" | ||||||
|     tools:text="CPU Settings" /> |     tools:text="CPU Settings" /> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user