summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/speed_select_dialog.xml
blob: e4d78c3faa74389d82de550dbe99fda93d08b11f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:padding="16dp"
        android:orientation="vertical">

    <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

        <TextView
                android:text="@string/playback_speed"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                style="@style/AntennaPod.TextView.ListItemPrimaryTitle"/>

        <com.google.android.material.chip.Chip
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:id="@+id/add_current_speed_chip"/>
    </LinearLayout>

    <de.danoeh.antennapod.view.PlaybackSpeedSeekBar
            android:id="@+id/speed_seek_bar"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="8dp">
    </de.danoeh.antennapod.view.PlaybackSpeedSeekBar>

    <TextView
            android:text="@string/speed_presets"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            style="@style/AntennaPod.TextView.ListItemPrimaryTitle"
            android:layout_marginBottom="8dp"/>

    <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/selected_speeds_grid"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />

</LinearLayout>