1
0
mirror of https://github.com/tuskyapp/Tusky synced 2025-01-26 16:55:38 +01:00

fix background of bottom tab bar (#4791)

`TabLayout` with Material 3 styling has a thin line at the bottom. That
makes sense when it is above the scrollable content, but not when it is
below.

Before:

![before](https://github.com/user-attachments/assets/619f125b-c817-4615-b6b6-29c885c90723)

After:

![after](https://github.com/user-attachments/assets/3b22d183-c844-4859-9bf8-d530f63cf97e)
This commit is contained in:
Konrad Pozniak 2024-12-06 11:18:10 +01:00 committed by GitHub
parent dcafc88e3d
commit eb83cb7d17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,9 +33,9 @@
android:layout_width="match_parent"
android:layout_height="48dp"
android:orientation="horizontal"
app:contentInsetStart="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
app:contentInsetStart="0dp"
app:contentInsetStartWithNavigation="0dp"
app:navigationContentDescription="@string/action_open_drawer">
@ -78,6 +78,7 @@
style="@style/TuskyTabAppearance"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorSurface"
app:tabGravity="fill"
app:tabIndicatorGravity="top"
app:tabMode="scrollable"