2022-10-01 15:13:40 +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"
|
2024-01-04 14:40:46 +05:30
|
|
|
android:layout_height="match_parent"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
2022-10-01 15:13:40 +05:30
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2024-01-04 14:40:46 +05:30
|
|
|
android:orientation="vertical">
|
2022-10-01 15:13:40 +05:30
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2024-01-04 14:40:46 +05:30
|
|
|
android:layout_marginHorizontal="23dp"
|
2022-10-01 15:13:40 +05:30
|
|
|
android:text="@string/playback_speed" />
|
|
|
|
|
2023-06-25 14:25:36 +05:30
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/speed_shortcuts"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="10dp"
|
2024-01-04 14:40:46 +05:30
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingHorizontal="20dp"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
app:layoutManager="LinearLayoutManager"
|
|
|
|
tools:listitem="@layout/slider_label_item"/>
|
2023-06-25 14:25:36 +05:30
|
|
|
|
2023-08-19 14:01:08 +05:30
|
|
|
<com.google.android.material.slider.Slider
|
|
|
|
android:id="@+id/speed"
|
2022-10-01 15:13:40 +05:30
|
|
|
android:layout_width="match_parent"
|
2023-08-19 14:01:08 +05:30
|
|
|
android:layout_height="wrap_content"
|
2023-10-19 22:21:50 +05:30
|
|
|
android:stepSize="0.05"
|
2023-08-19 14:01:08 +05:30
|
|
|
android:value="1.0"
|
|
|
|
android:valueFrom="0.2"
|
2024-01-04 14:40:46 +05:30
|
|
|
android:valueTo="4.0"
|
|
|
|
android:layout_marginHorizontal="10dp" />
|
2022-10-01 15:13:40 +05:30
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2024-01-04 14:40:46 +05:30
|
|
|
android:layout_marginHorizontal="23dp"
|
|
|
|
android:layout_marginTop="10dp"
|
2022-10-01 15:13:40 +05:30
|
|
|
android:text="@string/playback_pitch" />
|
|
|
|
|
2023-06-25 14:25:36 +05:30
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/pitch_shortcuts"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="10dp"
|
2024-01-04 14:40:46 +05:30
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingHorizontal="20dp"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
app:layoutManager="LinearLayoutManager"
|
|
|
|
tools:listitem="@layout/slider_label_item"/>
|
2023-06-25 14:25:36 +05:30
|
|
|
|
2023-08-19 14:01:08 +05:30
|
|
|
<com.google.android.material.slider.Slider
|
|
|
|
android:id="@+id/pitch"
|
2022-10-01 15:13:40 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2023-08-19 14:01:08 +05:30
|
|
|
android:stepSize="0.1"
|
|
|
|
android:value="1.0"
|
|
|
|
android:valueFrom="0.5"
|
2024-01-04 14:40:46 +05:30
|
|
|
android:valueTo="2.0"
|
|
|
|
android:layout_marginHorizontal="10dp" />
|
2022-10-01 15:13:40 +05:30
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2023-08-13 14:49:23 +05:30
|
|
|
<com.google.android.material.checkbox.MaterialCheckBox
|
|
|
|
android:id="@+id/skip_silence"
|
2023-01-17 23:08:39 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2023-08-13 14:49:23 +05:30
|
|
|
android:layout_gravity="center"
|
2024-01-04 14:40:46 +05:30
|
|
|
android:layout_marginHorizontal="17dp"
|
|
|
|
android:paddingHorizontal="5dp"
|
2023-08-13 14:49:23 +05:30
|
|
|
android:text="@string/skip_silence" />
|
2023-01-17 23:08:39 +05:30
|
|
|
|
2022-10-01 15:13:40 +05:30
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|