aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-09-12 10:13:59 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-09-12 10:13:59 +0000
commit4ac9784ab109bed94c1808e6af83d85d9dab35c5 (patch)
treed128262d249651441a542232e515b38b66ad186b /app/src/main/res
parent64390d4a5b2c118155d245721567a91181706e3f (diff)
downloadinfinity-for-reddit-4ac9784ab109bed94c1808e6af83d85d9dab35c5.tar
infinity-for-reddit-4ac9784ab109bed94c1808e6af83d85d9dab35c5.tar.gz
infinity-for-reddit-4ac9784ab109bed94c1808e6af83d85d9dab35c5.tar.bz2
infinity-for-reddit-4ac9784ab109bed94c1808e6af83d85d9dab35c5.tar.lz
infinity-for-reddit-4ac9784ab109bed94c1808e6af83d85d9dab35c5.tar.xz
infinity-for-reddit-4ac9784ab109bed94c1808e6af83d85d9dab35c5.tar.zst
infinity-for-reddit-4ac9784ab109bed94c1808e6af83d85d9dab35c5.zip
Add more info in settings->about. Fix title mismatch in settings.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/strings.xml10
-rw-r--r--app/src/main/res/xml/about_preferences.xml20
2 files changed, 30 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 340e90f9..afd0cc44 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -288,6 +288,14 @@
<string name="settings_credits_thumbtack_icon_title">Thumbtack Icon</string>
<string name="settings_credits_thumbtack_icon_summary">Icon made by Freepik from www.flaticon.com</string>
<string name="settings_credits_material_icons_title">Material Icons</string>
+ <string name="settings_open_source_title">Open Source</string>
+ <string name="settings_open_source_summary">Star it on Github if you like this app</string>
+ <string name="settings_rate_title">Rate in Google Play</string>
+ <string name="settings_rate_summary">Give me a 5-star rating and I will be really happy</string>
+ <string name="settings_email_title">Email</string>
+ <string name="settings_email_summary">docilealligator.app@gmail.com</string>
+ <string name="settings_reddit_account_title">Reddit Account</string>
+ <string name="settings_reddit_account_summary">u/Hostilenemy</string>
<string name="no_link_available">Cannot get the link</string>
@@ -304,4 +312,6 @@
<string name="cannot_handle_intent">Could not handle the share request</string>
<string name="share">Share</string>
+
+ <string name="no_email_client">No Email client found</string>
</resources>
diff --git a/app/src/main/res/xml/about_preferences.xml b/app/src/main/res/xml/about_preferences.xml
index a16237e4..e27844fc 100644
--- a/app/src/main/res/xml/about_preferences.xml
+++ b/app/src/main/res/xml/about_preferences.xml
@@ -10,4 +10,24 @@
app:title="@string/settings_credits_master_title"
app:fragment="Settings.CreditsPreferenceFragment" />
+ <Preference
+ android:key="open_source"
+ app:title="@string/settings_open_source_title"
+ app:summary="@string/settings_open_source_summary" />
+
+ <Preference
+ android:key="rate"
+ app:title="@string/settings_rate_title"
+ app:summary="@string/settings_rate_summary" />
+
+ <Preference
+ android:key="email"
+ app:title="@string/settings_email_title"
+ app:summary="@string/settings_email_summary" />
+
+ <Preference
+ android:key="reddit_account"
+ app:title="@string/settings_reddit_account_title"
+ app:summary="@string/settings_reddit_account_summary" />
+
</PreferenceScreen> \ No newline at end of file