aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/set_playback_speed.xml
blob: c85719bbfdbb31a6e6bbdd881df5939dac486815 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<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"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_marginLeft="8dp"
		android:textSize="20dp"
		android:paddingRight="10px"
		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"
		android:layout_toRightOf="@+id/playback_speed_label"
		android:layout_below="@+id/playback_speed_buttons"
		/>

</RelativeLayout>