Merge branch 'focusable' into 'master'

Add missing "focusable" attributes.

See merge request fdroid/fdroidclient!735
This commit is contained in:
Hans-Christoph Steiner 2018-08-30 20:33:20 +00:00
commit 054bdb5cd4
6 changed files with 12 additions and 6 deletions

View File

@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="?attr/selectableItemBackground"
android:clickable="true">
android:clickable="true"
android:focusable="true">
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"

View File

@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="220dp"
android:foreground="?attr/selectableItemBackground"
android:clickable="true">
android:clickable="true"
android:focusable="true">
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"

View File

@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="?attr/selectableItemBackground"
android:clickable="true">
android:clickable="true"
android:focusable="true">
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"

View File

@ -12,7 +12,8 @@
android:layout_marginBottom="@dimen/details_activity__collapsable_lists__padding__vertical"
android:clickable="true"
android:orientation="vertical"
tools:ignore="UnusedAttribute">
tools:ignore="UnusedAttribute"
android:focusable="true">
<!-- This frame layout is only for showing the material-design-like background ripple when
selecting the TextView. -->

View File

@ -6,7 +6,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="true"
android:background="?attr/selectableItemBackground">
android:background="?attr/selectableItemBackground"
android:focusable="true">
<!-- Ignore ContentDescription because it is kind of meaningless to have TTS read out "App icon"
when it will inevitably read out the name of the app straight after. -->

View File

@ -9,7 +9,8 @@
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:clickable="true"
android:background="?attr/selectableItemBackground">
android:background="?attr/selectableItemBackground"
android:focusable="true">
<!-- Ignore ContentDescription because it is kind of meaningless to have TTS read out "App icon"
when it will inevitably read out the name of the app straight after. -->