aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-01-24 21:57:08 -0800
committerScott Jackson <daneren2005@gmail.com>2014-01-24 21:57:08 -0800
commiteb6034ccd8e68e63414f3159854da69f03c4d61e (patch)
tree94c52b32b93aba968d36156128be6e44248720de /res
parent47189ecb92977410eb00b1817dd885a4314d9904 (diff)
downloaddsub-eb6034ccd8e68e63414f3159854da69f03c4d61e.tar.gz
dsub-eb6034ccd8e68e63414f3159854da69f03c4d61e.tar.bz2
dsub-eb6034ccd8e68e63414f3159854da69f03c4d61e.zip
#269 Convert timer to slider
Diffstat (limited to 'res')
-rw-r--r--res/layout/start_timer.xml16
-rw-r--r--res/values/strings.xml2
2 files changed, 8 insertions, 10 deletions
diff --git a/res/layout/start_timer.xml b/res/layout/start_timer.xml
index 3b607a44..eb2ccbe8 100644
--- a/res/layout/start_timer.xml
+++ b/res/layout/start_timer.xml
@@ -1,6 +1,6 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
- android:layout_width="wrap_content"
+ android:layout_width="fill_parent"
android:layout_height="wrap_content">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
@@ -12,16 +12,14 @@
android:id="@+id/timer_length_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
- android:textSize="20dp"
- android:text="@string/download.timer_length" />
- <EditText
- android:id="@+id/timer_length"
- android:inputType="number"
+ android:layout_marginLeft="8dp"
+ android:textSize="20dp"/>
+
+ <SeekBar
+ android:id="@+id/timer_length_bar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:layout_marginLeft="4dp"
- android:hint="@string/download.timer_length" />
+ android:max="97"/>
</LinearLayout>
</LinearLayout> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 8115103f..a5753841 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -191,7 +191,7 @@
<string name="download.jukebox_not_authorized">Remote control is not allowed. Please enable jukebox mode in <b>Users &gt; Settings</b> on your Subsonic server.</string>
<string name="download.show_downloading">Show Downloading</string>
<string name="download.show_now_playing">Show Now Playing</string>
- <string name="download.timer_length">Timer Length</string>
+ <string name="download.timer_length">Timer:</string>
<string name="download.start_timer">Start Timer</string>
<string name="download.stop_timer">Stop Timer</string>
<string name="download.need_download">Video needs to be downloaded first</string>