aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-02-26 14:15:39 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-02-26 14:15:39 +0000
commitc2b6066c7ec68a9f1d7e72a24d5bfb22c5461e3c (patch)
treecd67e0e190de871f242807ef1139f40c30730499 /app/src/main/res
parenta6289f4c1fbf21b719bfc41a99e00b2eecbd1458 (diff)
downloadinfinity-for-reddit-c2b6066c7ec68a9f1d7e72a24d5bfb22c5461e3c.tar
infinity-for-reddit-c2b6066c7ec68a9f1d7e72a24d5bfb22c5461e3c.tar.gz
infinity-for-reddit-c2b6066c7ec68a9f1d7e72a24d5bfb22c5461e3c.tar.bz2
infinity-for-reddit-c2b6066c7ec68a9f1d7e72a24d5bfb22c5461e3c.tar.lz
infinity-for-reddit-c2b6066c7ec68a9f1d7e72a24d5bfb22c5461e3c.tar.xz
infinity-for-reddit-c2b6066c7ec68a9f1d7e72a24d5bfb22c5461e3c.tar.zst
infinity-for-reddit-c2b6066c7ec68a9f1d7e72a24d5bfb22c5461e3c.zip
New option: Show avatar on the right in the navigation drawer.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/drawable/subreddit_default_icon.pngbin0 -> 16621 bytes
-rw-r--r--app/src/main/res/drawable/subreddit_default_icon_2.jpg (renamed from app/src/main/res/drawable/subreddit_default_icon.jpg)bin51471 -> 51471 bytes
-rw-r--r--app/src/main/res/values/strings.xml1
-rw-r--r--app/src/main/res/xml/interface_preferences.xml5
4 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/subreddit_default_icon.png b/app/src/main/res/drawable/subreddit_default_icon.png
new file mode 100644
index 00000000..072c8e24
--- /dev/null
+++ b/app/src/main/res/drawable/subreddit_default_icon.png
Binary files differ
diff --git a/app/src/main/res/drawable/subreddit_default_icon.jpg b/app/src/main/res/drawable/subreddit_default_icon_2.jpg
index 4e9bc2fc..4e9bc2fc 100644
--- a/app/src/main/res/drawable/subreddit_default_icon.jpg
+++ b/app/src/main/res/drawable/subreddit_default_icon_2.jpg
Binary files differ
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 5278ec55..81cc184b 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -540,6 +540,7 @@
<string name="settings_hide_subreddit_and_user_prefix">Hide Subreddit and User Prefix</string>
<string name="settings_hide_the_number_of_votes">Hide the Number of Votes</string>
<string name="settings_hide_the_number_of_comments">Hide the Number of Comments</string>
+ <string name="settings_show_avatar_on_the_right_in_the_navigation_drawer">Show Avatar on the Left in the Navigation Drawer</string>
<string name="no_link_available">Cannot get the link</string>
diff --git a/app/src/main/res/xml/interface_preferences.xml b/app/src/main/res/xml/interface_preferences.xml
index d6f8dc68..e40f5b25 100644
--- a/app/src/main/res/xml/interface_preferences.xml
+++ b/app/src/main/res/xml/interface_preferences.xml
@@ -29,6 +29,11 @@
app:title="@string/settings_enable_bottom_app_bar_title"
app:summary="@string/settings_enable_bottom_app_bar_summary" />
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="show_avatar_on_the_right_in_the_navigation_drawer"
+ app:title="@string/settings_show_avatar_on_the_right_in_the_navigation_drawer" />
+
<Preference
app:title="@string/settings_time_format_title"
app:fragment="ml.docilealligator.infinityforreddit.settings.TimeFormatPreferenceFragment" />