Merge pull request #5483 from johnjohndoe/accessibility-toolbar
Improve accessibility of back button.
This commit is contained in:
commit
2e486623a6
|
@ -12,6 +12,7 @@
|
|||
android:minHeight="?attr/actionBarSize"
|
||||
android:theme="?attr/actionBarTheme"
|
||||
android:layout_alignParentTop="true"
|
||||
app:navigationContentDescription="@string/toolbar_back_button_content_description"
|
||||
app:navigationIcon="?homeAsUpIndicator"
|
||||
android:id="@+id/toolbar"/>
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
android:minHeight="?attr/actionBarSize"
|
||||
android:theme="?attr/actionBarTheme"
|
||||
app:layout_collapseMode="pin"
|
||||
app:navigationContentDescription="@string/toolbar_back_button_content_description"
|
||||
app:navigationIcon="?homeAsUpIndicator" />
|
||||
|
||||
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:minHeight="?attr/actionBarSize"
|
||||
android:theme="?attr/actionBarTheme"
|
||||
app:navigationContentDescription="@string/toolbar_back_button_content_description"
|
||||
app:navigationIcon="?homeAsUpIndicator"
|
||||
android:id="@+id/toolbar"/>
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
android:minHeight="?attr/actionBarSize"
|
||||
android:theme="?attr/actionBarTheme"
|
||||
app:title="@string/feed_settings_label"
|
||||
app:navigationContentDescription="@string/toolbar_back_button_content_description"
|
||||
app:navigationIcon="?homeAsUpIndicator"
|
||||
android:elevation="4dp"
|
||||
android:id="@+id/toolbar"/>
|
||||
|
|
|
@ -676,6 +676,7 @@
|
|||
<string name="stop_preview">Stop preview</string>
|
||||
|
||||
<!-- Content descriptions for image buttons -->
|
||||
<string name="toolbar_back_button_content_description">Back</string>
|
||||
<string name="rewind_label">Rewind</string>
|
||||
<string name="fast_forward_label">Fast forward</string>
|
||||
<string name="increase_speed">Increase speed</string>
|
||||
|
|
Loading…
Reference in New Issue