aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2017-04-18 17:42:11 -0700
committerScott Jackson <daneren2005@gmail.com>2017-04-18 17:42:11 -0700
commitb5c780db8f9e9850489175610fd8ea3f4df0c38b (patch)
tree23fee03fea71f2d5c400136df53d33ad5957b2c7 /app/src/main/res/layout
parent544d65124e3e3a85694238da4639749f7c9f34ef (diff)
parentf6701984afef4aaca9af04d04f9d90e61dc91398 (diff)
downloaddsub-b5c780db8f9e9850489175610fd8ea3f4df0c38b.tar.gz
dsub-b5c780db8f9e9850489175610fd8ea3f4df0c38b.tar.bz2
dsub-b5c780db8f9e9850489175610fd8ea3f4df0c38b.zip
Merge branch 'SilentViking-enhanced-playback-speed' into edge
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/set_playback_speed.xml62
1 files changed, 53 insertions, 9 deletions
diff --git a/app/src/main/res/layout/set_playback_speed.xml b/app/src/main/res/layout/set_playback_speed.xml
index 42f23a35..c85719bb 100644
--- a/app/src/main/res/layout/set_playback_speed.xml
+++ b/app/src/main/res/layout/set_playback_speed.xml
@@ -1,8 +1,48 @@
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center">
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:background="?android:colorBackground"
+ >
+
+
+ <LinearLayout
+ android:id="@+id/playback_speed_buttons"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:orientation="horizontal"
+ >
+
+ <Button
+ android:id="@+id/playback_speed_normal"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="1.0x"
+ android:tag="1.0"/>
+ <Button
+ android:id="@+id/playback_speed_one_half"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:tag="1.5"
+ android:text="1.5x"/>
+
+ <Button
+ android:id="@+id/playback_speed_double"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:tag="2.0"
+ android:text="2.0x"/>
+
+
+ <Button
+ android:id="@+id/playback_speed_triple"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="3.0x"
+ android:tag="3.0"/>
+ </LinearLayout>
<TextView
android:id="@+id/playback_speed_label"
@@ -11,12 +51,16 @@
android:layout_marginLeft="8dp"
android:textSize="20dp"
android:paddingRight="10px"
- android:layout_gravity="center"
- android:textColor="?android:textColorPrimary"/>
+ android:textColor="?android:textColorPrimary"
+ android:layout_below="@+id/playback_speed_buttons"/>
<SeekBar
android:id="@+id/playback_speed_bar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:max="25"/>
-</LinearLayout> \ No newline at end of file
+ android:max="25"
+ android:layout_toRightOf="@+id/playback_speed_label"
+ android:layout_below="@+id/playback_speed_buttons"
+ />
+
+</RelativeLayout> \ No newline at end of file