LibreTube/app/src/main/res/layout/bottom_sheet.xml

57 lines
2.2 KiB
XML
Raw Normal View History

2022-08-12 17:33:55 +05:30
<?xml version="1.0" encoding="utf-8"?>
2022-09-10 19:43:02 +05:30
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
2022-09-11 22:04:15 +05:30
xmlns:app="http://schemas.android.com/apk/res-auto"
2022-08-12 17:33:55 +05:30
android:layout_width="match_parent"
2022-09-11 22:04:15 +05:30
android:layout_height="match_parent">
2022-08-12 17:33:55 +05:30
2022-09-10 19:43:02 +05:30
<FrameLayout
android:id="@+id/standard_bottom_sheet"
style="@style/Widget.Material3.BottomSheet"
android:layout_width="match_parent"
android:layout_height="match_parent"
2022-09-23 17:51:32 +05:30
android:paddingBottom="20dp"
2022-09-10 19:43:02 +05:30
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
2022-08-12 17:33:55 +05:30
2022-09-10 19:43:02 +05:30
<LinearLayout
android:layout_width="match_parent"
2022-09-11 22:04:15 +05:30
android:layout_height="wrap_content"
android:orientation="vertical">
2022-08-12 17:33:55 +05:30
2022-09-10 19:43:02 +05:30
<!-- Drag handle for accessibility -->
<com.google.android.material.bottomsheet.BottomSheetDragHandleView
android:id="@+id/drag_handle"
android:layout_width="match_parent"
2022-09-11 22:04:15 +05:30
android:layout_height="wrap_content" />
2022-08-12 17:33:55 +05:30
2023-08-05 14:59:56 +05:30
<LinearLayout
android:id="@+id/bottom_sheet_title_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
2023-08-25 22:45:56 +05:30
android:paddingBottom="12dp"
2023-08-05 14:59:56 +05:30
android:visibility="gone">
<TextView
android:id="@+id/bottom_sheet_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginHorizontal="10dp"
2023-08-25 22:45:56 +05:30
android:layout_marginBottom="5dp"
2023-08-05 14:59:56 +05:30
android:textSize="27sp" />
<com.google.android.material.divider.MaterialDivider
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
2022-09-10 19:43:02 +05:30
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/options_recycler"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
2022-08-12 17:33:55 +05:30
2022-09-10 19:43:02 +05:30
</LinearLayout>
2022-08-12 17:33:55 +05:30
2022-09-10 19:43:02 +05:30
</FrameLayout>
2022-09-09 01:20:51 +05:30
2022-09-10 19:43:02 +05:30
</androidx.constraintlayout.widget.ConstraintLayout>