summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/speed_select_dialog.xml
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2020-08-15 19:56:21 +0200
committerByteHamster <info@bytehamster.com>2020-08-15 19:56:34 +0200
commitb25e0933ab606ac45ef9c26a745f25845d3af3fc (patch)
tree0344f78cbc1bbf1148ea07c63bdd1212a412a2e7 /app/src/main/res/layout/speed_select_dialog.xml
parent3c5e1138ca1c616dd7add9d567442cc0d9a510ac (diff)
parentd8674e8050fd98961f7eaa9fa844eb03d8bbfb48 (diff)
downloadAntennaPod-b25e0933ab606ac45ef9c26a745f25845d3af3fc.zip
Merge branch 'develop' into add-local-feeds
Diffstat (limited to 'app/src/main/res/layout/speed_select_dialog.xml')
-rw-r--r--app/src/main/res/layout/speed_select_dialog.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/app/src/main/res/layout/speed_select_dialog.xml b/app/src/main/res/layout/speed_select_dialog.xml
new file mode 100644
index 000000000..e4d78c3fa
--- /dev/null
+++ b/app/src/main/res/layout/speed_select_dialog.xml
@@ -0,0 +1,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> \ No newline at end of file