From e020b3577421ddf27c9e936f2a27c174f43569bd Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Mon, 22 Aug 2022 15:17:55 +0200 Subject: [PATCH] fix view thread back button content description (#2682) --- app/src/main/res/drawable/ic_back.xml | 12 ------------ .../main/res/layout-sw640dp/fragment_view_thread.xml | 9 +++++---- app/src/main/res/layout/fragment_view_thread.xml | 9 +++++---- 3 files changed, 10 insertions(+), 20 deletions(-) delete mode 100644 app/src/main/res/drawable/ic_back.xml diff --git a/app/src/main/res/drawable/ic_back.xml b/app/src/main/res/drawable/ic_back.xml deleted file mode 100644 index 83808c54..00000000 --- a/app/src/main/res/drawable/ic_back.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - \ No newline at end of file diff --git a/app/src/main/res/layout-sw640dp/fragment_view_thread.xml b/app/src/main/res/layout-sw640dp/fragment_view_thread.xml index a74cc83b..ec023062 100644 --- a/app/src/main/res/layout-sw640dp/fragment_view_thread.xml +++ b/app/src/main/res/layout-sw640dp/fragment_view_thread.xml @@ -8,15 +8,16 @@ android:id="@+id/appbar" android:layout_width="match_parent" android:layout_height="wrap_content" - android:elevation="@dimen/actionbar_elevation" > + android:elevation="@dimen/actionbar_elevation"> + app:navigationIcon="?attr/homeAsUpIndicator" + app:navigationContentDescription="@string/abc_action_bar_up_description" + app:menu="@menu/view_thread_toolbar" /> @@ -40,7 +41,7 @@ android:id="@+id/progressBar" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="center"/> + android:layout_gravity="center" /> + android:elevation="@dimen/actionbar_elevation"> + app:navigationIcon="?attr/homeAsUpIndicator" + app:navigationContentDescription="@string/abc_action_bar_up_description" + app:menu="@menu/view_thread_toolbar" /> @@ -40,7 +41,7 @@ android:id="@+id/progressBar" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="center"/> + android:layout_gravity="center" />