From 6249dba4673e37a411a54c81b8ebd452f84c5c89 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Tue, 31 Jan 2023 19:30:50 +0100 Subject: [PATCH] improve avatars next to tabs (#3242) --- app/src/main/res/layout/activity_main.xml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 9c993615..dd22e156 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -42,8 +42,9 @@ android:layout_gravity="center_vertical" android:layout_marginStart="10dp" android:layout_marginEnd="10dp" - android:background="@drawable/avatar_default" - app:shapeAppearance="@style/ShapeAppearance.Avatar" /> + android:contentDescription="@string/action_open_drawer" + app:shapeAppearance="@style/ShapeAppearance.Avatar" + tools:src="@drawable/avatar_default" /> + @@ -85,8 +87,9 @@ android:layout_gravity="center_vertical" android:layout_marginStart="10dp" android:layout_marginEnd="10dp" - android:background="@drawable/avatar_default" - app:shapeAppearance="@style/ShapeAppearance.Avatar" /> + android:contentDescription="@string/action_open_drawer" + app:shapeAppearance="@style/ShapeAppearance.Avatar" + tools:src="@drawable/avatar_default" />