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

87 lines
3.2 KiB
XML
Raw Normal View History

2022-10-29 01:38:50 +05:30
<?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"
2022-10-29 01:48:18 +05:30
android:layout_height="0dp"
android:layout_weight="1" />
2022-10-29 01:38:50 +05:30
<LinearLayout
android:id="@+id/bottom_controls"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-10-29 02:34:44 +05:30
android:layout_margin="5dp"
2022-10-29 01:38:50 +05:30
android:background="@drawable/rounded_ripple"
android:padding="10dp">
<ImageView
android:id="@+id/repeat"
style="@style/QueueSheetOption"
android:src="@drawable/ic_repeat" />
2022-10-29 01:38:50 +05:30
<ImageView
android:id="@+id/shuffle"
style="@style/QueueSheetOption"
2022-10-29 01:38:50 +05:30
android:src="@drawable/ic_shuffle" />
2022-11-17 20:55:34 +05:30
<ImageView
android:id="@+id/reverse"
style="@style/QueueSheetOption"
2022-11-17 20:55:34 +05:30
android:src="@drawable/ic_reverse" />
<ImageView
android:id="@+id/add_to_playlist"
style="@style/QueueSheetOption"
android:src="@drawable/ic_playlist_add" />
2022-11-17 20:55:34 +05:30
2022-10-29 01:38:50 +05:30
<ImageView
android:id="@+id/sort"
style="@style/QueueSheetOption"
android:src="@drawable/ic_sort" />
2022-10-29 01:38:50 +05:30
<ImageView
android:id="@+id/watch_positions_options"
style="@style/QueueSheetOption"
android:src="@drawable/ic_eye" />
<ImageView
android:id="@+id/clear_queue"
style="@style/QueueSheetOption"
android:src="@drawable/ic_close" />
<ImageView
style="@style/QueueSheetOption"
android:layout_width="0dp"
android:layout_weight="1"
android:src="@drawable/ic_arrow_down" />
2022-10-29 01:38:50 +05:30
</LinearLayout>
</LinearLayout>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>