homogenize accessibility traversal in sent and received messages
This commit is contained in:
parent
c48499253b
commit
6590dc922f
|
@ -37,7 +37,9 @@
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="2dp">
|
android:padding="2dp">
|
||||||
|
|
||||||
<include layout="@layout/message_content"/>
|
<include
|
||||||
|
android:id="@+id/message_content"
|
||||||
|
layout="@layout/message_content"/>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -82,6 +84,8 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:text="@string/sending"
|
android:text="@string/sending"
|
||||||
|
android:accessibilityTraversalAfter="@id/message_photo"
|
||||||
|
android:accessibilityTraversalBefore="@id/message_content"
|
||||||
android:textAppearance="@style/TextAppearance.Conversations.Caption"/>
|
android:textAppearance="@style/TextAppearance.Conversations.Caption"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -51,7 +51,9 @@
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="2dp">
|
android:padding="2dp">
|
||||||
|
|
||||||
<include layout="@layout/message_content" />
|
<include
|
||||||
|
android:id="@+id/message_content"
|
||||||
|
layout="@layout/message_content" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -67,6 +69,8 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_marginEnd="4sp"
|
android:layout_marginEnd="4sp"
|
||||||
android:layout_marginRight="4sp"
|
android:layout_marginRight="4sp"
|
||||||
|
android:accessibilityTraversalAfter="@id/message_photo"
|
||||||
|
android:accessibilityTraversalBefore="@id/message_content"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:text="@string/sending"
|
android:text="@string/sending"
|
||||||
android:textAppearance="@style/TextAppearance.Conversations.Caption" />
|
android:textAppearance="@style/TextAppearance.Conversations.Caption" />
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
android:orderInCategory="10"
|
android:orderInCategory="10"
|
||||||
android:title="@string/scan_qr_code"
|
android:title="@string/scan_qr_code"
|
||||||
android:visible="@bool/show_qr_code_scan"
|
android:visible="@bool/show_qr_code_scan"
|
||||||
app:showAsAction="always" />
|
app:showAsAction="always"/>
|
||||||
<item
|
<item
|
||||||
android:icon="?attr/icon_search"
|
android:icon="?attr/icon_search"
|
||||||
android:orderInCategory="11"
|
android:orderInCategory="11"
|
||||||
|
|
Loading…
Reference in New Issue