5
0
mirror of https://github.com/cwinfo/envayasms.git synced 2024-11-10 02:30:27 +00:00
envayasms/res/xml/prefs.xml

55 lines
1.9 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference
android:key="enabled"
android:title="Enable KalSMS?"
android:defaultValue='false'
android:summaryOn="All new SMS will be forwarded between phone and server"
android:summaryOff="New SMS will not be forwarded between phone and server"
></CheckBoxPreference>
<EditTextPreference
android:key="server_url"
android:title="Server URL"
android:defaultValue=""
></EditTextPreference>
<EditTextPreference
android:key="phone_number"
android:title="Your phone number"
android:defaultValue=""
></EditTextPreference>
<EditTextPreference
android:key="password"
android:title="Password"
android:password="true"
></EditTextPreference>
<ListPreference
android:key="outgoing_interval"
android:title="Poll interval"
android:defaultValue="60"
android:entries="@array/check_intervals"
android:entryValues="@array/check_intervals_values"
></ListPreference>
<CheckBoxPreference
android:key="keep_in_inbox"
android:title="Keep new messages?"
android:summaryOff="Incoming SMS will not be stored in Messaging inbox"
android:summaryOn="Incoming SMS will be stored in Messaging inbox"
></CheckBoxPreference>
<ListPreference
android:key="wifi_sleep_policy"
android:title="Wi-Fi sleep policy"
android:defaultValue="never"
android:entries="@array/wifi_sleep_policies"
android:entryValues="@array/wifi_sleep_policies_values"
>
</ListPreference>
</PreferenceScreen>