improve avatars next to tabs (#3242)

This commit is contained in:
Konrad Pozniak 2023-01-31 19:30:50 +01:00 committed by GitHub
parent ebb9d22db4
commit 6249dba467
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,8 +42,9 @@
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginStart="10dp" android:layout_marginStart="10dp"
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:background="@drawable/avatar_default" android:contentDescription="@string/action_open_drawer"
app:shapeAppearance="@style/ShapeAppearance.Avatar" /> app:shapeAppearance="@style/ShapeAppearance.Avatar"
tools:src="@drawable/avatar_default" />
<com.google.android.material.tabs.TabLayout <com.google.android.material.tabs.TabLayout
android:id="@+id/tabLayout" android:id="@+id/tabLayout"
@ -53,6 +54,7 @@
app:tabGravity="fill" app:tabGravity="fill"
app:tabMaxWidth="0dp" app:tabMaxWidth="0dp"
app:tabMode="fixed" /> app:tabMode="fixed" />
</LinearLayout> </LinearLayout>
</com.google.android.material.appbar.AppBarLayout> </com.google.android.material.appbar.AppBarLayout>
@ -85,8 +87,9 @@
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginStart="10dp" android:layout_marginStart="10dp"
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:background="@drawable/avatar_default" android:contentDescription="@string/action_open_drawer"
app:shapeAppearance="@style/ShapeAppearance.Avatar" /> app:shapeAppearance="@style/ShapeAppearance.Avatar"
tools:src="@drawable/avatar_default" />
<com.google.android.material.tabs.TabLayout <com.google.android.material.tabs.TabLayout
android:id="@+id/bottomTabLayout" android:id="@+id/bottomTabLayout"