summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/speed_select_dialog.xml
blob: ad8e1ddcd0027d8d333b7cb7f23bd19b231c2e88 (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
46
47
48
49
50
51
<?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:orientation="vertical"
    android:padding="16dp">

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

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

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

    </LinearLayout>

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

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

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

    <CheckBox
        android:id="@+id/skipSilence"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="@string/pref_skip_silence_title" />

</LinearLayout>