Added defaultt values
parent
6c63a97d92
commit
b846714560
|
@ -1,11 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="address">http://localhost:8337</string>
|
||||
<integer name="threads">2</integer>
|
||||
|
||||
<integer name="size">10</integer>
|
||||
<bool name="random">true</bool>
|
||||
<bool name="use_albums">true</bool>
|
||||
<string name="query"/>
|
||||
<bool name="start_charging">false</bool>
|
||||
<integer name="download_interval">7</integer>
|
||||
|
||||
|
||||
</resources>
|
|
@ -2,14 +2,14 @@
|
|||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<EditTextPreference
|
||||
android:defaultValue="http://localhost:5785"
|
||||
android:defaultValue="@string/address"
|
||||
android:inputType="text"
|
||||
android:key="address"
|
||||
android:summary="Address of the synchronisation server"
|
||||
android:title="Address" />
|
||||
|
||||
<EditTextPreference
|
||||
android:defaultValue="2"
|
||||
android:defaultValue="@integer/threads"
|
||||
android:inputType="number"
|
||||
android:key="threads"
|
||||
android:summary="Number of threads to use for downloading"
|
||||
|
|
Loading…
Reference in New Issue