Bottom sheet header bar view

This commit is contained in:
Koitharu
2022-07-24 18:36:35 +03:00
parent 802448cb5a
commit 36634414bc
21 changed files with 321 additions and 302 deletions

View File

@@ -7,29 +7,11 @@
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:layout_width="36dp"
android:layout_height="3dp"
android:layout_gravity="center"
android:layout_marginTop="12dp"
android:alpha="0.2"
android:src="@drawable/tab_rounded_rectangle"
app:tint="?attr/colorOnSurfaceVariant" />
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar"
<org.koitharu.kotatsu.base.ui.widgets.BottomSheetHeaderBar
android:id="@+id/headerBar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@drawable/sheet_toolbar_background">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:navigationIcon="?actionModeCloseDrawable"
app:title="@string/options" />
</com.google.android.material.appbar.AppBarLayout>
android:layout_height="wrap_content"
app:title="@string/options" />
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"