urban-explorer/app/src/main/res/xml/urban_expl_settings.xml

108 lines
3.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:title="Panoramio search settings"
android:key="pref_panoramio_settings">
<EditTextPreference
android:key="pref_panoramio_radiusx"
android:title="Radius X"
android:summary="Radius X"
android:defaultValue="0.05"
android:inputType="numberDecimal" />
<EditTextPreference
android:key="pref_panoramio_radiusy"
android:title="Radius Y"
android:summary="Radius Y"
android:defaultValue="0.05"
android:inputType="numberDecimal" />
</PreferenceCategory>
<PreferenceCategory
android:title="Wiki search settings"
android:key="pref_wiki_settings">
<EditTextPreference
android:key="pref_wiki_radius"
android:title="Wiki search radius"
android:summary="Wiki search radius[km]"
android:defaultValue="10.0"
android:inputType="numberDecimal" />
<EditTextPreference
android:key="pref_wiki_limit"
android:title="Wiki search results limit"
android:summary="Limit of wiki results"
android:defaultValue="100"
android:inputType="number" />
</PreferenceCategory>
<PreferenceCategory
android:title="GPS tracking settings"
android:key="pref_gps_settings">
<EditTextPreference
android:key="pref_gps_update_freq"
android:title="GPS update frequency"
android:summary="Update time of GPS location in minutes"
android:defaultValue="15.0"
android:inputType="numberDecimal" />
<EditTextPreference
android:key="pref_gps_distance_freq"
android:title="GPS distance frequency"
android:summary="Update distance of GPS location in meters"
android:defaultValue="100.0"
android:inputType="numberDecimal" />
</PreferenceCategory>
<PreferenceCategory
android:title="Network proxy settings"
android:key="pref_proxy_settings">
<CheckBoxPreference
android:key="pref_proxy_enabled"
android:title="Proxy enabled"
android:summary="Proxy enabled" />
<EditTextPreference
android:key="pref_proxy_host"
android:title="Proxy host"
android:summary="Proxy host"
android:defaultValue="localhost"
android:dependency="pref_proxy_enabled" />
<EditTextPreference
android:key="pref_proxy_port"
android:title="Proxy port"
android:summary="Proxy port"
android:defaultValue="8123"
android:inputType="number"
android:dependency="pref_proxy_enabled" />
<EditTextPreference
android:key="pref_proxy_user"
android:title="Proxy user"
android:summary="Proxy user"
android:defaultValue=""
android:dependency="pref_proxy_enabled" />
<EditTextPreference
android:key="pref_proxy_pass"
android:title="Proxy password"
android:summary="Proxy password"
android:defaultValue=""
android:inputType="textPassword"
android:dependency="pref_proxy_enabled" />
</PreferenceCategory>
</PreferenceScreen>