diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/values/arrays.xml | 22 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/xml/comment_preferences.xml | 8 | ||||
-rw-r--r-- | app/src/main/res/xml/post_details_preferences.xml | 8 |
4 files changed, 47 insertions, 0 deletions
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index adb1cb64..3b94b241 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -698,4 +698,26 @@ <item>@string/save_locally_and_online</item> </string-array> + <string-array name="settings_embedded_media_type"> + <item>@string/all</item> + <item>@string/image_and_gif</item> + <item>@string/image_and_emoji</item> + <item>@string/gif_and_emoji</item> + <item>@string/image_embedded_media</item> + <item>@string/gif</item> + <item>@string/emoji</item> + <item>@string/none</item> + </string-array> + + <string-array name="settings_embedded_media_type_values"> + <item>15</item> + <item>7</item> + <item>6</item> + <item>5</item> + <item>3</item> + <item>2</item> + <item>1</item> + <item>0</item> + </string-array> + </resources> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 898df6ed..833411b2 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -642,6 +642,7 @@ <string name="settings_hide_fab_in_post_feed">Hide FAB in Post Feed</string> <string name="settings_comment_divider_type">Comment Divider Type</string> <string name="settings_comment_filter_title">Comment Filter</string> + <string name="settings_embedded_media_type_title">Embedded Media Type</string> <string name="no_link_available">Cannot get the link</string> @@ -1393,4 +1394,12 @@ <string name="local">Local</string> <string name="online">Online</string> + <string name="image_and_gif">Image and GIF</string> + <string name="image_and_emoji">Image and emoji</string> + <string name="gif_and_emoji">GIF and emoji</string> + <string name="image_embedded_media">Image</string> + <string name="emoji">Emoji</string> + <string name="none">None</string> + + </resources> diff --git a/app/src/main/res/xml/comment_preferences.xml b/app/src/main/res/xml/comment_preferences.xml index bfd4237a..79b49351 100644 --- a/app/src/main/res/xml/comment_preferences.xml +++ b/app/src/main/res/xml/comment_preferences.xml @@ -63,4 +63,12 @@ app:title="@string/settings_show_fewer_toolbar_options_threshold_title" app:singleLineTitle="false" /> + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference + app:defaultValue="15" + app:entries="@array/settings_embedded_media_type" + app:entryValues="@array/settings_embedded_media_type_values" + app:key="embedded_media_type" + app:title="@string/settings_embedded_media_type_title" + app:useSimpleSummaryProvider="true" /> + </PreferenceScreen>
\ No newline at end of file diff --git a/app/src/main/res/xml/post_details_preferences.xml b/app/src/main/res/xml/post_details_preferences.xml index 0cbf770f..3ff62eee 100644 --- a/app/src/main/res/xml/post_details_preferences.xml +++ b/app/src/main/res/xml/post_details_preferences.xml @@ -37,4 +37,12 @@ app:key="hide_the_number_of_comments" app:title="@string/settings_hide_the_number_of_comments" /> + <ml.docilealligator.infinityforreddit.customviews.CustomFontListPreference + app:defaultValue="15" + app:entries="@array/settings_embedded_media_type" + app:entryValues="@array/settings_embedded_media_type_values" + app:key="embedded_media_type" + app:title="@string/settings_embedded_media_type_title" + app:useSimpleSummaryProvider="true" /> + </PreferenceScreen>
\ No newline at end of file |