improve avatars next to tabs (#3242)
This commit is contained in:
parent
ebb9d22db4
commit
6249dba467
1 changed files with 7 additions and 4 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue