mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-16 07:10:29 +05:30
90 lines
3.7 KiB
XML
90 lines
3.7 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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/standard_bottom_sheet"
|
|
style="@style/Widget.Material3.BottomSheet"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingBottom="20dp"
|
|
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<!-- Drag handle for accessibility -->
|
|
<com.google.android.material.bottomsheet.BottomSheetDragHandleView
|
|
android:id="@+id/drag_handle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/options_recycler"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/bottom_controls"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
android:background="@drawable/rounded_ripple"
|
|
android:padding="10dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/shuffle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="5dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:padding="5dp"
|
|
android:src="@drawable/ic_shuffle" />
|
|
|
|
<ImageView
|
|
android:id="@+id/reverse"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="5dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:padding="5dp"
|
|
android:src="@drawable/ic_reverse" />
|
|
|
|
<ImageView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginHorizontal="10dp"
|
|
android:layout_weight="1"
|
|
android:src="@drawable/ic_arrow_down" />
|
|
|
|
<ImageView
|
|
android:id="@+id/repeat"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="5dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:padding="5dp"
|
|
android:src="@drawable/ic_repeat" />
|
|
|
|
<ImageView
|
|
android:id="@+id/clear"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="5dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:padding="5dp"
|
|
android:src="@drawable/ic_close" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |