Merge pull request #11421 from t895/disable-header-focus
Android: Disable focus on non-actionable UI
This commit is contained in:
commit
acafb07707
|
@ -150,6 +150,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:clickable="true"
|
||||
android:focusable="false"
|
||||
android:background="@android:color/transparent" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
|
|
@ -89,6 +89,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:clickable="true"
|
||||
android:focusable="false"
|
||||
android:background="@android:color/transparent" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
|
|
@ -69,6 +69,7 @@
|
|||
android:layout_gravity="bottom"
|
||||
android:background="@android:color/transparent"
|
||||
android:clickable="true"
|
||||
android:focusable="false"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
|
|
@ -87,6 +87,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:clickable="true"
|
||||
android:focusable="false"
|
||||
android:background="@android:color/transparent" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:clickable="true"
|
||||
android:focusable="false"
|
||||
android:background="@android:color/transparent" />
|
||||
|
||||
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
||||
|
|
|
@ -104,6 +104,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:clickable="true"
|
||||
android:focusable="false"
|
||||
android:background="@android:color/transparent" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:clickable="true"
|
||||
android:focusable="false"
|
||||
android:background="@android:color/transparent" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
|
|
@ -127,6 +127,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:clickable="true"
|
||||
android:focusable="false"
|
||||
android:background="@android:color/transparent" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:focusable="true"
|
||||
android:focusable="false"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
|
|
Loading…
Reference in New Issue