aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/drawable-night/ic_security_24dp.xml9
-rw-r--r--app/src/main/res/drawable/ic_security_24dp.xml9
-rw-r--r--app/src/main/res/values/arrays.xml10
-rw-r--r--app/src/main/res/values/strings.xml20
-rw-r--r--app/src/main/res/xml/main_preferences.xml5
-rw-r--r--app/src/main/res/xml/security_preferences.xml8
6 files changed, 49 insertions, 12 deletions
diff --git a/app/src/main/res/drawable-night/ic_security_24dp.xml b/app/src/main/res/drawable-night/ic_security_24dp.xml
new file mode 100644
index 00000000..3e21f473
--- /dev/null
+++ b/app/src/main/res/drawable-night/ic_security_24dp.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:pathData="M12,1L3,5v6c0,5.55 3.84,10.74 9,12 5.16,-1.26 9,-6.45 9,-12L21,5l-9,-4zM12,11.99h7c-0.53,4.12 -3.28,7.79 -7,8.94L12,12L5,12L5,6.3l7,-3.11v8.8z"
+ android:fillColor="#FFFFFF"/>
+</vector>
diff --git a/app/src/main/res/drawable/ic_security_24dp.xml b/app/src/main/res/drawable/ic_security_24dp.xml
new file mode 100644
index 00000000..be9737bd
--- /dev/null
+++ b/app/src/main/res/drawable/ic_security_24dp.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:pathData="M12,1L3,5v6c0,5.55 3.84,10.74 9,12 5.16,-1.26 9,-6.45 9,-12L21,5l-9,-4zM12,11.99h7c-0.53,4.12 -3.28,7.79 -7,8.94L12,12L5,12L5,6.3l7,-3.11v8.8z"
+ android:fillColor="#000000"/>
+</vector>
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml
index 94df20c9..695ddfeb 100644
--- a/app/src/main/res/values/arrays.xml
+++ b/app/src/main/res/values/arrays.xml
@@ -233,14 +233,4 @@
<item>1</item>
<item>2</item>
</string-array>
- <!-- Reply Preference -->
- <string-array name="reply_entries">
- <item>Reply</item>
- <item>Reply to all</item>
- </string-array>
-
- <string-array name="reply_values">
- <item>reply</item>
- <item>reply_all</item>
- </string-array>
</resources> \ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 3e70c54d..39a228ff 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -483,6 +483,8 @@
<string name="settings_disable_swiping_between_tabs_title">Disable Swiping Between Tabs</string>
<string name="settings_enable_swipe_action_title">Enable Swipe Action</string>
<string name="settings_pull_to_refresh_title">Pull to Refresh</string>
+ <string name="settings_security_title">Security</string>
+ <string name="settings_require_authentication_to_go_to_account_section_in_navigation_drawer">Require Authentication to Go to Account Section in Navigation Drawer</string>
<string name="no_link_available">Cannot get the link</string>
@@ -882,7 +884,21 @@
<string name="block_user_failed">Failed to block user</string>
<string name="view_full_comment_markdown">View Full Markdown</string>
- <!-- TODO: Remove or change this placeholder text -->
- <string name="hello_blank_fragment">Hello blank fragment</string>
+
+ <string name="unlock_account_section">Unlock Account Section</string>
+ <!-- Preference Titles -->
+ <string name="messages_header">Messages</string>
+ <string name="sync_header">Sync</string>
+
+ <!-- Messages Preferences -->
+ <string name="signature_title">Your signature</string>
+ <string name="reply_title">Default reply action</string>
+
+ <!-- Sync Preferences -->
+ <string name="sync_title">Sync email periodically</string>
+ <string name="attachment_title">Download incoming attachments</string>
+ <string name="attachment_summary_on">Automatically download attachments for incoming emails
+ </string>
+ <string name="attachment_summary_off">Only download attachments when manually requested</string>
</resources>
diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml
index ce6ff184..48bf5697 100644
--- a/app/src/main/res/xml/main_preferences.xml
+++ b/app/src/main/res/xml/main_preferences.xml
@@ -41,6 +41,11 @@
android:icon="@drawable/ic_download_24dp"
app:fragment="ml.docilealligator.infinityforreddit.Settings.DownloadLocationPreferenceFragment" />
+ <Preference
+ app:title="@string/settings_security_title"
+ android:icon="@drawable/ic_security_24dp"
+ app:fragment="ml.docilealligator.infinityforreddit.Settings.SecurityPreferenceFragment" />
+
<SwitchPreference
app:defaultValue="false"
app:key="save_front_page_scrolled_position"
diff --git a/app/src/main/res/xml/security_preferences.xml b/app/src/main/res/xml/security_preferences.xml
new file mode 100644
index 00000000..a7174faf
--- /dev/null
+++ b/app/src/main/res/xml/security_preferences.xml
@@ -0,0 +1,8 @@
+<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="require_auth_to_account_section"
+ app:title="@string/settings_require_authentication_to_go_to_account_section_in_navigation_drawer" />
+
+</PreferenceScreen> \ No newline at end of file