mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-15 23:25:06 +01:00
64 lines
2.8 KiB
XML
64 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<eu.kanade.tachiyomi.ui.extension.ExtensionBottomSheet 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/ext_bottom_sheet"
|
|
style="@style/BottomSheetDialogTheme"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/bg_bottom_sheet_dialog_fragment"
|
|
android:backgroundTint="?android:attr/colorBackground"
|
|
android:orientation="vertical"
|
|
app:behavior_peekHeight="48sp"
|
|
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/sheet_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:background="@drawable/bg_bottom_sheet_dialog_fragment"
|
|
android:backgroundTint="?attr/colorPrimaryVariant"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<ImageView
|
|
android:id="@+id/pill"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="5dp"
|
|
android:alpha="0.25"
|
|
android:contentDescription="@string/drag_handle"
|
|
android:src="@drawable/draggable_pill"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/title_text"
|
|
style="@style/TextAppearance.AppCompat.Widget.ActionBar.Title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginBottom="10dp"
|
|
android:layout_marginTop="6dp"
|
|
android:ellipsize="end"
|
|
android:gravity="center"
|
|
android:maxLines="1"
|
|
android:textAlignment="center"
|
|
android:textColor="?actionBarTintColor"
|
|
android:textSize="18sp"
|
|
tools:text="Extensions" />
|
|
</LinearLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/ext_recycler"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?android:attr/colorBackground"
|
|
android:clipToPadding="false"
|
|
tools:listitem="@layout/extension_card_header" />
|
|
</eu.kanade.tachiyomi.ui.extension.ExtensionBottomSheet> |