aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-11-04 21:54:58 -0800
committerScott Jackson <daneren2005@gmail.com>2012-11-04 21:54:58 -0800
commite595be8821641e445a13fc792149309ba4db2712 (patch)
tree66ad3f484585a44d0752ed3d25cfdbde6fe98df3 /subsonic-android/res
parent214d05bee4a72589bac7444bce5099318c7fca5a (diff)
downloaddsub-e595be8821641e445a13fc792149309ba4db2712.tar.gz
dsub-e595be8821641e445a13fc792149309ba4db2712.tar.bz2
dsub-e595be8821641e445a13fc792149309ba4db2712.zip
Moved to dedicated offline button
Diffstat (limited to 'subsonic-android/res')
-rw-r--r--subsonic-android/res/drawable-hdpi-v4/main_offline.pngbin0 -> 1405 bytes
-rw-r--r--subsonic-android/res/layout/main_buttons.xml13
-rw-r--r--subsonic-android/res/values/strings.xml3
3 files changed, 15 insertions, 1 deletions
diff --git a/subsonic-android/res/drawable-hdpi-v4/main_offline.png b/subsonic-android/res/drawable-hdpi-v4/main_offline.png
new file mode 100644
index 00000000..a1d27cec
--- /dev/null
+++ b/subsonic-android/res/drawable-hdpi-v4/main_offline.png
Binary files differ
diff --git a/subsonic-android/res/layout/main_buttons.xml b/subsonic-android/res/layout/main_buttons.xml
index 48d5b53f..c5b3b43a 100644
--- a/subsonic-android/res/layout/main_buttons.xml
+++ b/subsonic-android/res/layout/main_buttons.xml
@@ -41,6 +41,19 @@
</LinearLayout>
</LinearLayout>
+
+ <TextView
+ android:id="@+id/main_offline"
+ android:text="@string/main.offline"
+ android:drawablePadding="12dip"
+ android:drawableLeft="@drawable/main_offline"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:gravity="center_vertical"
+ android:paddingLeft="6dp"
+ android:paddingBottom="4dp"
+ android:minHeight="50dip"/>
<TextView
android:id="@+id/main_albums"
diff --git a/subsonic-android/res/values/strings.xml b/subsonic-android/res/values/strings.xml
index 264bf973..5b0e5a76 100644
--- a/subsonic-android/res/values/strings.xml
+++ b/subsonic-android/res/values/strings.xml
@@ -29,7 +29,8 @@
set up your personal server (available from <b>subsonic.org</b>), please go to <b>Settings</b> and change the configuration to connect to it.</string>
<string name="main.select_server">Select server</string>
<string name="main.shuffle">Shuffle play</string>
- <string name="main.offline">Offline</string>
+ <string name="main.offline">Go Offline</string>
+ <string name="main.online">Go Online</string>
<string name="main.settings">Settings</string>
<string name="main.albums_title">Albums</string>
<string name="main.albums_newest">Recently added</string>