diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-01-24 21:57:08 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-01-24 21:57:08 -0800 |
commit | eb6034ccd8e68e63414f3159854da69f03c4d61e (patch) | |
tree | 94c52b32b93aba968d36156128be6e44248720de /res/layout | |
parent | 47189ecb92977410eb00b1817dd885a4314d9904 (diff) | |
download | dsub-eb6034ccd8e68e63414f3159854da69f03c4d61e.tar.gz dsub-eb6034ccd8e68e63414f3159854da69f03c4d61e.tar.bz2 dsub-eb6034ccd8e68e63414f3159854da69f03c4d61e.zip |
#269 Convert timer to slider
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/start_timer.xml | 16 |
1 files changed, 7 insertions, 9 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 |