summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/xml/preferences.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-10-17 00:17:34 +0400
committerAndrew Dolgov <[email protected]>2014-10-17 00:17:34 +0400
commit8f6ca0eec07c077269d97edaf9c89f2eaf3fc115 (patch)
treeb2b744b1f11435820f9be54e78b290f810ffd8ff /org.fox.ttrss/src/main/res/xml/preferences.xml
parent97cc96839d31b6cce59ec29a6681c6fe802552ee (diff)
rename main module
Diffstat (limited to 'org.fox.ttrss/src/main/res/xml/preferences.xml')
-rw-r--r--org.fox.ttrss/src/main/res/xml/preferences.xml196
1 files changed, 196 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/res/xml/preferences.xml b/org.fox.ttrss/src/main/res/xml/preferences.xml
new file mode 100644
index 00000000..7ee21f84
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/xml/preferences.xml
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <PreferenceCategory android:title="@string/connection" >
+ <EditTextPreference
+ android:key="login"
+ android:singleLine="true"
+ android:summary="@string/login_summary"
+ android:title="@string/login" >
+ </EditTextPreference>
+ <EditTextPreference
+ android:key="password"
+ android:password="true"
+ android:singleLine="true"
+ android:title="@string/password" >
+ </EditTextPreference>
+ <EditTextPreference
+ android:hint="@string/default_url"
+ android:inputType="textUri"
+ android:key="ttrss_url"
+ android:singleLine="true"
+ android:summary="@string/ttrss_url_summary"
+ android:title="@string/ttrss_url" >
+ </EditTextPreference>
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/ssl" >
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="ssl_trust_any"
+ android:summary="@string/ssl_trust_any_long"
+ android:title="@string/ssl_trust_any" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="ssl_trust_any_host"
+ android:summary="@string/ssl_trust_any_host_long"
+ android:title="@string/ssl_trust_any_host" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/http_authentication" >
+ <EditTextPreference
+ android:key="http_login"
+ android:singleLine="true"
+ android:summary="@string/http_login_summary"
+ android:title="@string/login" >
+ </EditTextPreference>
+ <EditTextPreference
+ android:key="http_password"
+ android:password="true"
+ android:singleLine="true"
+ android:title="@string/password" >
+ </EditTextPreference>
+ </PreferenceCategory>
+ <PreferenceCategory
+ android:key="category_look_and_feel"
+ android:title="@string/look_and_feel" >
+ <ListPreference
+ android:defaultValue="THEME_LIGHT"
+ android:entries="@array/pref_theme_names"
+ android:entryValues="@array/pref_theme_values"
+ android:key="theme"
+ android:summary="@string/pref_theme_long"
+ android:title="@string/pref_theme" />
+
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="sort_feeds_by_unread"
+ android:title="@string/sort_feeds_by_unread" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="download_feed_icons"
+ android:title="@string/download_feed_icons" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="enable_cats"
+ android:title="@string/enable_cats" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:dependency="enable_cats"
+ android:key="browse_cats_like_feeds"
+ android:summary="@string/browse_cats_like_feeds_summary"
+ android:title="@string/browse_cats_like_feeds" />
+
+ <ListPreference
+ android:defaultValue="HEADLINES"
+ android:entries="@array/pref_view_mode_names"
+ android:entryValues="@array/pref_view_mode_values"
+ android:key="default_view_mode"
+ android:summary="@string/pref_default_view_mode_long"
+ android:title="@string/pref_default_view_mode" />
+
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:key="headlines_show_content"
+ android:summary="@string/pref_headlines_show_content_long"
+ android:title="@string/pref_headlines_show_content" />
+
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:key="headlines_show_flavor_image"
+ android:title="@string/prefs_headlines_show_flavor_image" />
+
+ <!-- <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="headlines_full_content"
+ android:summary="@string/pref_headlines_full_content_long"
+ android:title="@string/pref_headlines_full_content" /> -->
+
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="oldest_first"
+ android:summary="@string/requires_api5"
+ android:title="@string/offline_oldest_first" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="headlines_mark_read_scroll"
+ android:summary="@string/pref_headlines_mark_read_scroll_long"
+ android:title="@string/pref_headlines_mark_read_scroll" />
+
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="enable_condensed_fonts"
+ android:summary="@string/pref_headlines_use_condensed_fonts_long"
+ android:title="@string/pref_headlines_use_condensed_fonts" />
+
+ <org.fox.ttrss.util.FontSizeDialogPreference
+ android:defaultValue="13"
+ android:key="headlines_font_size_sp"
+ android:dialogMessage="@string/pref_headline_font_size"
+ android:title="@string/pref_headline_font_size" />
+
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/reading" >
+ <org.fox.ttrss.util.FontSizeDialogPreference
+ android:defaultValue="16"
+ android:key="article_font_size_sp"
+ android:inputType="number"
+ android:title="@string/pref_font_size" />
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:key="justify_article_text"
+ android:title="@string/justify_article_text" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="use_volume_keys"
+ android:summary="@string/use_volume_keys_long"
+ android:title="@string/use_volume_keys" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="dim_status_bar"
+ android:summary="@string/prefs_dim_status_bar_long"
+ android:title="@string/prefs_dim_status_bar" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="full_screen_mode"
+ android:title="@string/prefs_fullscreen_mode" />
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:key="confirm_headlines_catchup"
+ android:title="@string/prefs_confirm_headlines_catchup" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/offline_mode" >
+ <ListPreference
+ android:defaultValue="250"
+ android:entries="@array/pref_offline_amounts"
+ android:entryValues="@array/pref_offline_amounts"
+ android:key="offline_sync_max"
+ android:summary="@string/offline_articles_to_download_long"
+ android:title="@string/offline_articles_to_download" />
+
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="offline_image_cache_enabled"
+ android:summary="@string/offline_image_cache_enabled_summary"
+ android:title="@string/offline_image_cache_enabled" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="offline_oldest_first"
+ android:title="@string/offline_oldest_first" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/debugging" >
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="article_compat_view"
+ android:title="@string/prefs_compatible_article_layout"
+ android:summary="@string/prefs_compatible_layout_summary" />
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:key="webview_hardware_accel"
+ android:summary="@string/accel_webview_summary"
+ android:title="@string/accel_webview_title" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="transport_debugging"
+ android:title="@string/transport_debugging" />
+ </PreferenceCategory>
+
+</PreferenceScreen>