diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-10-13 14:52:12 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-10-13 14:52:12 -0700 |
commit | ff5e91853f50349706943bf4f80431bd1d0cab37 (patch) | |
tree | 6095443bb7713d3e4a0058404a6780d0acc5a4b1 /res | |
parent | 08a434690ee25320a256242ee9c9f34926ece4f9 (diff) | |
download | dsub-ff5e91853f50349706943bf4f80431bd1d0cab37.tar.gz dsub-ff5e91853f50349706943bf4f80431bd1d0cab37.tar.bz2 dsub-ff5e91853f50349706943bf4f80431bd1d0cab37.zip |
#386 Start of adding ability to toggle offline from Tasker
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/edit_play_action.xml | 19 | ||||
-rw-r--r-- | res/values/arrays.xml | 6 | ||||
-rw-r--r-- | res/values/strings.xml | 2 |
3 files changed, 27 insertions, 0 deletions
diff --git a/res/layout/edit_play_action.xml b/res/layout/edit_play_action.xml index 6eb3b651..1043e2e2 100644 --- a/res/layout/edit_play_action.xml +++ b/res/layout/edit_play_action.xml @@ -23,4 +23,23 @@ android:longClickable="true" /> </LinearLayout> + + <LinearLayout + android:orientation="horizontal" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <TextView + android:id="@+id/edit_offline_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="4dp" + android:textSize="20dp" + android:text="@string/tasker.edit_server_offline"/> + + <Spinner + android:id="@+id/edit_offline_spinner" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + </LinearLayout> </LinearLayout>
\ No newline at end of file diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 3e85c982..19758562 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -235,4 +235,10 @@ <item>@string/settings.replay_gain_type.album</item> <item>@string/settings.replay_gain_type.track</item> </string-array> + + <string-array name="editServerOptions"> + <item>@string/tasker.edit_do_nothing</item> + <item>@string/main.online</item> + <item>@string/main.offline</item> + </string-array> </resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index 0fdb2361..15dc020d 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -559,6 +559,8 @@ <string name="tasker.start_playing_shuffled">Start playing in Shuffle Mode</string>
<string name="tasker.start_playing_title">Tasker -> Start DSub</string>
<string name="tasker.edit_shuffle_mode">Start in shuffle mode: </string>
+ <string name="tasker.edit_server_offline">Toggle offline: </string>
+ <string name="tasker.edit_do_nothing">Do Nothing</string>
<plurals name="select_album_n_songs">
<item quantity="zero">No songs</item>
|