mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-15 17:25:06 +01:00
54a3767eb4
There's a lot of changes this release and I'm tired of writing them twice each time Based on tachiyomiorg@88032e1 Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
73 lines
3.2 KiB
XML
73 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/source_filter_sheet"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/bottom_sheet_rounded_background"
|
|
app:layout_constraintVertical_chainStyle="packed"
|
|
android:backgroundTint="?android:attr/colorBackground">
|
|
|
|
<eu.kanade.tachiyomi.ui.base.MaxHeightScrollView
|
|
android:id="@+id/menu_scroll_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:scrollbars="vertical"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constrainedHeight="true"
|
|
app:layout_constraintTop_toBottomOf="@id/title_layout">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/menu_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical" />
|
|
</eu.kanade.tachiyomi.ui.base.MaxHeightScrollView>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/title_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?actionBarSize"
|
|
android:layout_gravity="top"
|
|
android:background="@drawable/bottom_sheet_rounded_background"
|
|
android:backgroundTint="?attr/colorSecondary"
|
|
android:clickable="true"
|
|
android:elevation="0dp"
|
|
android:focusable="true"
|
|
android:orientation="horizontal"
|
|
app:layout_constraintBottom_toTopOf="@id/menu_scroll_view"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/toolbar_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Headline6"
|
|
android:textColor="?actionBarTintColor"
|
|
android:textSize="17sp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:text="Title Text" />
|
|
|
|
<View
|
|
android:id="@+id/divider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
android:background="@color/divider"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|