improve accessibility of some buttons

This commit is contained in:
adbenitez 2021-04-29 05:00:15 -04:00
parent 1882067844
commit d434b534bb
7 changed files with 10 additions and 5 deletions

View file

@ -45,6 +45,7 @@
android:visibility="gone"
android:focusable="true"
android:background="@drawable/circle_touch_highlight_background"
android:contentDescription="@string/clear_search"
android:src="@drawable/ic_clear_white_24dp" />
</org.thoughtcrime.securesms.components.AnimatingToggle>

View file

@ -52,7 +52,7 @@
android:layout_height="36dp"
android:layout_marginBottom="1dp"
android:cropToPadding="true"
android:contentDescription="@null" />
android:contentDescription="@string/pref_profile_photo" />
</FrameLayout>

View file

@ -48,7 +48,8 @@
android:layout_marginBottom="4dp"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"/>
android:layout_centerVertical="true"
android:contentDescription="@string/search"/>
</RelativeLayout>
@ -68,4 +69,4 @@
android:visibility="invisible"
tools:visibility="visible"/>
</RelativeLayout>
</RelativeLayout>

View file

@ -20,7 +20,7 @@
android:layout_centerVertical="true"
android:cropToPadding="true"
tools:src="@drawable/ic_contact_picture"
android:contentDescription="@string/pref_profile_photo"
android:importantForAccessibility="no"
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp" />

View file

@ -22,6 +22,7 @@
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:contentDescription="@string/back"
android:visibility="visible"/>
<org.thoughtcrime.securesms.components.AvatarImageView
@ -97,4 +98,4 @@
</LinearLayout>
</org.thoughtcrime.securesms.ConversationTitleView>
</org.thoughtcrime.securesms.ConversationTitleView>

View file

@ -4,6 +4,7 @@
<string name="app_name">Delta Chat</string>
<string name="ok">OK</string>
<string name="cancel">Cancelar</string>
<string name="clear_search">Borrar búsqueda</string>
<string name="yes"></string>
<string name="no">No</string>
<string name="select">Seleccionar</string>

View file

@ -4,6 +4,7 @@
<string name="app_name">Delta Chat</string>
<string name="ok">OK</string>
<string name="cancel">Cancel</string>
<string name="clear_search">Clear search</string>
<string name="yes">Yes</string>
<string name="no">No</string>
<string name="select">Select</string>