ultrasonic-app-subsonic-and.../res/xml/settings.xml

286 lines
9.7 KiB
XML
Raw Normal View History

<?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.search_title">
<ListPreference
a:title="@string/settings.default_artists"
a:key="defaultArtists"
a:defaultValue="3"
a:entryValues="@array/defaultSearchValues"
a:entries="@array/defaultSearchNames"/>
<ListPreference
a:title="@string/settings.max_artists"
a:key="maxArtists"
a:defaultValue="10"
a:entryValues="@array/maxArtistsValues"
a:entries="@array/maxArtistsNames"/>
<ListPreference
a:title="@string/settings.default_albums"
a:key="defaultAlbums"
a:defaultValue="5"
a:entryValues="@array/defaultSearchValues"
a:entries="@array/defaultSearchNames"/>
<ListPreference
a:title="@string/settings.max_albums"
a:key="maxAlbums"
a:defaultValue="20"
a:entryValues="@array/maxAlbumsValues"
a:entries="@array/maxAlbumsNames"/>
<ListPreference
a:title="@string/settings.default_songs"
a:key="defaultSongs"
a:defaultValue="10"
a:entryValues="@array/defaultSearchValues"
a:entries="@array/defaultSearchNames"/>
<ListPreference
a:title="@string/settings.max_songs"
a:key="maxSongs"
a:defaultValue="25"
a:entryValues="@array/maxSongsValues"
a:entries="@array/maxSongsNames"/>
<Preference
a:key="clearSearchHistory"
a:title="@string/settings.clear_search_history"
a:persistent="false"/>
</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"/>
<CheckBoxPreference
a:title="@string/settings.show_notification_always"
a:summary="@string/settings.show_notification_always_summary"
a:key="alwaysShowNotification"
a:defaultValue="true"/>
<CheckBoxPreference
a:title="@string/settings.show_lockscreen_controls"
a:summary="@string/settings.show_lockscreen_controls_summary"
a:key="showLockScreen"
a:defaultValue="true"/>
<CheckBoxPreference
a:title="@string/settings.use_stream_proxy"
a:summary="@string/settings.use_stream_proxy_summary"
a:key="useStreamProxy"
a:defaultValue="false"/>
</PreferenceCategory>
</PreferenceScreen>