summaryrefslogtreecommitdiff
path: root/res/xml/preferences.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-09-08 14:23:44 +0400
committerAndrew Dolgov <[email protected]>2011-09-08 14:23:44 +0400
commita04f7480142a787e22fb4e152aae566bf0c43f29 (patch)
tree7327b71472b5af2a2228529acb94908497c67d74 /res/xml/preferences.xml
parentbc06293a39687794b607e5231aa53f2881957ed7 (diff)
implement login
Diffstat (limited to 'res/xml/preferences.xml')
-rw-r--r--res/xml/preferences.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
new file mode 100644
index 00000000..c158a5f8
--- /dev/null
+++ b/res/xml/preferences.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <PreferenceCategory android:title="@string/authentication">
+
+ <EditTextPreference android:title="@string/login" android:key="login" android:singleLine="true"></EditTextPreference>
+ <EditTextPreference android:title="@string/password" android:key="password" android:singleLine="true" android:password="true"></EditTextPreference>
+ <EditTextPreference android:key="ttrss_url" android:title="@string/ttrss_url" android:singleLine="true" textUri="true" android:hint="@string/default_url"></EditTextPreference>
+ <CheckBoxPreference android:defaultValue="true" android:title="@string/auto_login" android:key="auto_login" />
+
+ </PreferenceCategory>
+
+ <PreferenceCategory android:title="@string/look_and_feel">
+ <ListPreference
+ android:title="@string/pref_theme"
+ android:key="theme"
+ android:defaultValue="THEME_DARK"
+ android:entries="@array/pref_theme_names"
+ android:entryValues="@array/pref_theme_values" android:summary="@string/pref_theme_long"/>
+ </PreferenceCategory>
+
+</PreferenceScreen> \ No newline at end of file