diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-07-30 10:00:42 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-07-30 10:00:42 +0000 |
commit | 720aa0b6bde98c272878fd22a4f705f5b31183db (patch) | |
tree | 87d1b5be0e9009e625ae0d9127061a414ea99ec2 /app/src/main/res/xml | |
parent | e660da55f0e133a21861ac11a8f192e5f4812e61 (diff) | |
download | infinity-for-reddit-720aa0b6bde98c272878fd22a4f705f5b31183db.tar infinity-for-reddit-720aa0b6bde98c272878fd22a4f705f5b31183db.tar.gz infinity-for-reddit-720aa0b6bde98c272878fd22a4f705f5b31183db.tar.bz2 infinity-for-reddit-720aa0b6bde98c272878fd22a4f705f5b31183db.tar.lz infinity-for-reddit-720aa0b6bde98c272878fd22a4f705f5b31183db.tar.xz infinity-for-reddit-720aa0b6bde98c272878fd22a4f705f5b31183db.tar.zst infinity-for-reddit-720aa0b6bde98c272878fd22a4f705f5b31183db.zip |
Prepare to implement customization options for post details page.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/xml/interface_preferences.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/xml/post_details_preferences.xml | 39 |
2 files changed, 43 insertions, 0 deletions
diff --git a/app/src/main/res/xml/interface_preferences.xml b/app/src/main/res/xml/interface_preferences.xml index 201b13cd..47207d0a 100644 --- a/app/src/main/res/xml/interface_preferences.xml +++ b/app/src/main/res/xml/interface_preferences.xml @@ -54,6 +54,10 @@ app:fragment="ml.docilealligator.infinityforreddit.settings.PostPreferenceFragment" /> <Preference + app:title="@string/settings_post_details_title" + app:fragment="ml.docilealligator.infinityforreddit.settings.PostDetailsPreferenceFragment" /> + + <Preference app:title="@string/settings_category_comment_title" app:fragment="ml.docilealligator.infinityforreddit.settings.CommentPreferenceFragment" /> diff --git a/app/src/main/res/xml/post_details_preferences.xml b/app/src/main/res/xml/post_details_preferences.xml new file mode 100644 index 00000000..48e1ffbd --- /dev/null +++ b/app/src/main/res/xml/post_details_preferences.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + + <!--<Preference + app:title="@string/settings_number_of_columns_in_post_feed_title" + app:fragment="ml.docilealligator.infinityforreddit.settings.NumberOfColumnsInPostFeedPreferenceFragment" />--> + + <SwitchPreference + app:defaultValue="false" + app:key="hide_post_type" + app:title="@string/settings_hide_post_type" /> + + <SwitchPreference + app:defaultValue="false" + app:key="hide_post_flair" + app:title="@string/settings_hide_post_flair" /> + + <SwitchPreference + app:defaultValue="false" + app:key="hide_the_number_of_awards" + app:title="@string/settings_hide_the_number_of_awards" /> + + <SwitchPreference + app:defaultValue="false" + app:key="hide_subreddit_and_user_prefix" + app:title="@string/settings_hide_subreddit_and_user_prefix" /> + + <SwitchPreference + app:defaultValue="false" + app:key="hide_the_number_of_votes" + app:title="@string/settings_hide_the_number_of_votes" /> + + <SwitchPreference + app:defaultValue="false" + app:key="hide_the_number_of_comments" + app:title="@string/settings_hide_the_number_of_comments" /> + +</PreferenceScreen>
\ No newline at end of file |