perkeep/clients/android/res/xml/preferences.xml

74 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:key="first_preferencescreen" >
<EditTextPreference
android:key="camli.host"
android:persistent="true"
android:summary="@string/settings_host_summary"
android:title="@string/settings_host_title" />
<EditTextPreference
android:key="camli.username"
android:persistent="true"
android:title="@string/settings_username_title" />
<EditTextPreference
android:inputType="textPassword"
android:key="camli.password"
android:persistent="true"
android:title="@string/settings_password_title" />
<CheckBoxPreference
android:key="camli.auto"
android:persistent="true"
android:summary="@string/settings_auto_summary"
android:title="@string/settings_auto" />
<PreferenceScreen
android:key="camli.auto.opts"
android:title="Auto-upload settings" >
<CheckBoxPreference
android:defaultValue="true"
android:key="camli.auto.photos"
android:persistent="true"
android:title="Photos (DCIM/Camera/)" />
<CheckBoxPreference
android:defaultValue="true"
android:key="camli.auto.mytracks"
android:persistent="true"
android:title="MyTracks exports" />
<CheckBoxPreference
android:defaultValue="false"
android:key="camli.auto.require_wifi"
android:persistent="true"
android:summary="Wait for Wifi to auto-upload"
android:title="Require Wifi" />
<CheckBoxPreference
android:defaultValue="false"
android:key="camli.auto.require_power"
android:persistent="true"
android:summary="Wait until charging to auto-upload"
android:title="Require Power" />
</PreferenceScreen>
<EditTextPreference
android:key="camli.max_cache_mb"
android:numeric="integer"
android:persistent="true"
android:singleLine="true"
android:title="@string/settings_max_cache_size_title" />
<EditTextPreference
android:key="camli.trusted_cert"
android:persistent="true"
android:summary="@string/settings_trusted_cert_summary"
android:title="@string/settings_trusted_cert_title" />
<EditTextPreference
android:key="camli.dev_ip"
android:phoneNumber="true"
android:persistent="true"
android:singleLine="true"
android:title="@string/settings_dev_ip" />
</PreferenceScreen>