1
0
mirror of https://github.com/ultrasonic/ultrasonic synced 2024-12-14 01:35:06 +01:00
ultrasonic-app-subsonic-and.../res/xml/settings.xml
Joshua Bahnsen 6cd6b47b03 Notification, max albums, standards cleanup
Added stop button and pause/play toggle to notification, reuse
notification, removed arrows on menu items, added settings for max
albums and notifications, hopefully fixed a buffering issue, minor code
cleanup in preparation for full ICS/JB standards compliance.
2012-12-29 04:12:24 -07:00

229 lines
7.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:a="http://schemas.android.com/apk/res/android"
a:title="@string/settings.title">
<PreferenceCategory
a:title="@string/settings.servers_title">
<PreferenceScreen
a:key="server1">
<EditTextPreference
a:key="serverName1"
a:title="@string/settings.server_name"
a:defaultValue="Subsonic demo"/>
<EditTextPreference
a:key="serverUrl1"
a:title="@string/settings.server_address"
a:defaultValue="http://demo.subsonic.org"
a:inputType="textUri"/>
<EditTextPreference
a:key="username1"
a:title="@string/settings.server_username"
a:defaultValue="android-guest"/>
<EditTextPreference
a:key="password1"
a:title="@string/settings.server_password"
a:password="true"
a:defaultValue="guest"
a:summary="****"/>
<Preference
a:key="testConnection1"
a:title="@string/settings.test_connection_title"
a:persistent="false"/>
</PreferenceScreen>
<PreferenceScreen
a:key="server2">
<EditTextPreference
a:key="serverName2"
a:title="@string/settings.server_name"
a:defaultValue="@string/settings.server_unused1"/>
<EditTextPreference
a:key="serverUrl2"
a:title="@string/settings.server_address"
a:defaultValue="http://yourhost"
a:inputType="textUri"/>
<EditTextPreference
a:key="username2"
a:title="@string/settings.server_username"/>
<EditTextPreference
a:key="password2"
a:title="@string/settings.server_password"
a:password="true"
a:summary="****"/>
<Preference
a:key="testConnection2"
a:title="@string/settings.test_connection_title"
a:persistent="false"/>
</PreferenceScreen>
<PreferenceScreen
a:key="server3">
<EditTextPreference
a:key="serverName3"
a:title="@string/settings.server_name"
a:defaultValue="@string/settings.server_unused2"/>
<EditTextPreference
a:key="serverUrl3"
a:title="@string/settings.server_address"
a:defaultValue="http://yourhost"
a:inputType="textUri"/>
<EditTextPreference
a:key="username3"
a:title="@string/settings.server_username"/>
<EditTextPreference
a:key="password3"
a:title="@string/settings.server_password"
a:password="true"
a:summary="****"/>
<Preference
a:key="testConnection3"
a:title="@string/settings.test_connection_title"
a:persistent="false"/>
</PreferenceScreen>
</PreferenceCategory>
<PreferenceCategory
a:title="@string/settings.appearance_title">
<ListPreference
a:title="@string/settings.theme_title"
a:key="theme"
a:defaultValue="Dark"
a:entryValues="@array/themeValues"
a:entries="@array/themeNames"/>
</PreferenceCategory>
<PreferenceCategory
a:title="@string/settings.network_title">
<ListPreference
a:title="@string/settings.max_bitrate_wifi"
a:key="maxBitrateWifi"
a:defaultValue="0"
a:entryValues="@array/maxBitrateValues"
a:entries="@array/maxBitrateNames"/>
<ListPreference
a:title="@string/settings.max_bitrate_mobile"
a:key="maxBitrateMobile"
a:defaultValue="0"
a:entryValues="@array/maxBitrateValues"
a:entries="@array/maxBitrateNames"/>
<CheckBoxPreference
a:title="@string/settings.wifi_required_title"
a:summary="@string/settings.wifi_required_summary"
a:key="wifiRequiredForDownload"
a:defaultValue="false"/>
<ListPreference
a:title="@string/settings.buffer_length"
a:key="bufferLength"
a:defaultValue="5"
a:entryValues="@array/bufferLengthValues"
a:entries="@array/bufferLengthNames"/>
<ListPreference
a:title="@string/settings.network_timeout"
a:key="networkTimeout"
a:defaultValue="15000"
a:entryValues="@array/networkTimeoutValues"
a:entries="@array/networkTimeoutNames"/>
</PreferenceCategory>
<PreferenceCategory
a:title="@string/settings.cache_title">
<ListPreference
a:title="@string/settings.cache_size"
a:key="cacheSize"
a:defaultValue="500"
a:entryValues="@array/cacheSizeValues"
a:entries="@array/cacheSizeNames"/>
<EditTextPreference
a:title="@string/settings.cache_location"
a:key="cacheLocation"/>
<ListPreference
a:title="@string/settings.preload"
a:key="preloadCount"
a:defaultValue="3"
a:entryValues="@array/preloadCountValues"
a:entries="@array/preloadCountNames"/>
</PreferenceCategory>
<PreferenceCategory
a:title="@string/settings.other_title">
<CheckBoxPreference
a:title="@string/settings.scrobble_title"
a:summary="@string/settings.scrobble_summary"
a:key="scrobble"
a:defaultValue="false"/>
<CheckBoxPreference
a:title="@string/settings.hide_media_title"
a:summary="@string/settings.hide_media_summary"
a:key="hideMedia"
a:defaultValue="false"/>
<CheckBoxPreference
a:title="@string/settings.media_button_title"
a:summary="@string/settings.media_button_summary"
a:key="mediaButtons"
a:defaultValue="true"/>
<CheckBoxPreference
a:title="@string/settings.screen_lit_title"
a:summary="@string/settings.screen_lit_summary"
a:key="screenLitOnDownload"
a:defaultValue="true"/>
<CheckBoxPreference
a:title="@string/settings.show_notification"
a:summary="@string/settings.show_notification_summary"
a:key="showNotification"
a:defaultValue="true"/>
<ListPreference
a:title="@string/settings.max_albums"
a:summary="@string/settings.max_albums_summary"
a:key="maxAlbums"
a:defaultValue="20"
a:entryValues="@array/maxAlbumsValues"
a:entries="@array/maxAlbumsNames"/>
<Preference
a:key="clearSearchHistory"
a:title="@string/settings.clear_search_history"
a:persistent="false"/>
</PreferenceCategory>
</PreferenceScreen>