diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-05-20 22:15:56 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-05-20 22:15:56 -0700 |
commit | fe4097946e733bf16647802019e78d0cd8f282d1 (patch) | |
tree | 2bf37b14a15b537b5642029d045bd4b8a5274f19 /subsonic-android/res/xml | |
parent | 30002ba39b4aed40bd9aa821a24be5614e1ded29 (diff) | |
download | dsub-fe4097946e733bf16647802019e78d0cd8f282d1.tar.gz dsub-fe4097946e733bf16647802019e78d0cd8f282d1.tar.bz2 dsub-fe4097946e733bf16647802019e78d0cd8f282d1.zip |
Close #41 Add dynamic number of servers
Diffstat (limited to 'subsonic-android/res/xml')
-rw-r--r-- | subsonic-android/res/xml/settings.xml | 98 |
1 files changed, 4 insertions, 94 deletions
diff --git a/subsonic-android/res/xml/settings.xml b/subsonic-android/res/xml/settings.xml index 89ec5699..efa4a7da 100644 --- a/subsonic-android/res/xml/settings.xml +++ b/subsonic-android/res/xml/settings.xml @@ -4,102 +4,12 @@ android:title="@string/settings.title"> <PreferenceCategory + android:key="server" android:title="@string/settings.servers_title"> - <PreferenceScreen - android:key="server1"> - - <EditTextPreference - android:key="serverName1" - android:title="@string/settings.server_name" - android:defaultValue="Subsonic demo"/> - - <EditTextPreference - android:key="serverUrl1" - android:title="@string/settings.server_address" - android:defaultValue="http://demo.subsonic.org" - android:inputType="textUri"/> - - <EditTextPreference - android:key="username1" - android:title="@string/settings.server_username" - android:defaultValue="android-guest"/> - - <EditTextPreference - android:key="password1" - android:title="@string/settings.server_password" - android:password="true" - android:defaultValue="guest" - android:summary="****"/> - - <Preference - android:key="testConnection1" - android:title="@string/settings.test_connection_title" - android:persistent="false"/> - - </PreferenceScreen> - - <PreferenceScreen - android:key="server2"> - - <EditTextPreference - android:key="serverName2" - android:title="@string/settings.server_name" - android:defaultValue="@string/settings.server_unused1"/> - - <EditTextPreference - android:key="serverUrl2" - android:title="@string/settings.server_address" - android:defaultValue="http://yourhost" - android:inputType="textUri"/> - - <EditTextPreference - android:key="username2" - android:title="@string/settings.server_username"/> - - <EditTextPreference - android:key="password2" - android:title="@string/settings.server_password" - android:password="true" - android:summary="****"/> - - <Preference - android:key="testConnection2" - android:title="@string/settings.test_connection_title" - android:persistent="false"/> - - </PreferenceScreen> - - <PreferenceScreen - android:key="server3"> - - <EditTextPreference - android:key="serverName3" - android:title="@string/settings.server_name" - android:defaultValue="@string/settings.server_unused2"/> - - <EditTextPreference - android:key="serverUrl3" - android:title="@string/settings.server_address" - android:defaultValue="http://yourhost" - android:inputType="textUri"/> - - <EditTextPreference - android:key="username3" - android:title="@string/settings.server_username"/> - - <EditTextPreference - android:key="password3" - android:title="@string/settings.server_password" - android:password="true" - android:summary="****"/> - - <Preference - android:key="testConnection3" - android:title="@string/settings.test_connection_title" - android:persistent="false"/> - - </PreferenceScreen> + <Preference + android:key="serverAdd" + android:title="@string/settings.servers_add"/> </PreferenceCategory> |