Tabbed bottom sheet adjustments (#6309)

* SimpleNavigationView: Don't set background and elevation

* Add divider for tabs in bottom sheet
This commit is contained in:
Ivan Iskandar
2021-12-04 21:57:29 +07:00
committed by GitHub
parent 458a0e608a
commit be0a23d9ad
4 changed files with 17 additions and 14 deletions

View File

@@ -12,11 +12,10 @@
<!-- Remove background color so rounded sheet corners work -->
<com.google.android.material.tabs.TabLayout
style="@style/Widget.Tachiyomi.TabLayout"
android:id="@+id/tabs"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:background="@drawable/transparent_tabs_background"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/menu"
app:layout_constraintStart_toStartOf="parent"

View File

@@ -4,7 +4,6 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="?attr/listPreferredItemHeightSmall"
android:background="?android:attr/colorBackground"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="?attr/listPreferredItemPaddingStart"