1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 21:55:13 +00:00

Added accessibility attributes

This commit is contained in:
M66B 2019-12-24 11:44:47 +01:00
parent 42b964fc6a
commit d5a11a8004
2 changed files with 11 additions and 1 deletions

View file

@ -18,6 +18,7 @@
android:id="@+id/paddingTop"
android:layout_width="match_parent"
android:layout_height="12dp"
android:importantForAccessibility="no"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
@ -40,6 +41,7 @@
android:id="@+id/paddingStart"
android:layout_width="6dp"
android:layout_height="0dp"
android:importantForAccessibility="no"
android:visibility="gone"
app:layout_constraintStart_toEndOf="@+id/ibExpander"
app:layout_constraintTop_toTopOf="parent" />
@ -51,6 +53,7 @@
android:layout_marginStart="6dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_legend_avatar"
android:importantForAccessibility="no"
android:scaleType="centerCrop"
app:layout_constraintBottom_toBottomOf="@+id/tvFolder"
app:layout_constraintDimensionRatio="1:1"
@ -63,7 +66,7 @@
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintStart_toEndOf="@+id/ibAvatar"
app:layout_constraintTop_toBottomOf="@id/paddingTop"/>
app:layout_constraintTop_toBottomOf="@id/paddingTop" />
<ImageButton
android:id="@+id/ibAuth"
@ -338,6 +341,7 @@
android:id="@+id/paddingEnd"
android:layout_width="6dp"
android:layout_height="0dp"
android:importantForAccessibility="no"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@+id/paddingBottom"
app:layout_constraintEnd_toEndOf="parent"
@ -347,6 +351,7 @@
android:id="@+id/paddingBottom"
android:layout_width="match_parent"
android:layout_height="12dp"
android:importantForAccessibility="no"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"

View file

@ -17,6 +17,7 @@
android:id="@+id/paddingTop"
android:layout_width="match_parent"
android:layout_height="3dp"
android:importantForAccessibility="no"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
@ -38,6 +39,7 @@
android:id="@+id/paddingStart"
android:layout_width="6dp"
android:layout_height="0dp"
android:importantForAccessibility="no"
app:layout_constraintBottom_toBottomOf="@+id/paddingBottom"
app:layout_constraintStart_toEndOf="@+id/ibExpander"
app:layout_constraintTop_toTopOf="parent" />
@ -48,6 +50,7 @@
android:layout_height="0dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_legend_avatar"
android:importantForAccessibility="no"
android:paddingStart="6dp"
android:paddingEnd="6dp"
android:scaleType="centerCrop"
@ -335,6 +338,7 @@
android:id="@+id/paddingEnd"
android:layout_width="6dp"
android:layout_height="0dp"
android:importantForAccessibility="no"
app:layout_constraintBottom_toBottomOf="@+id/paddingBottom"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
@ -343,6 +347,7 @@
android:id="@+id/paddingBottom"
android:layout_width="match_parent"
android:layout_height="3dp"
android:importantForAccessibility="no"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvError" />