diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/values/strings.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/xml/gestures_and_buttons_preference.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/xml/swipe_action_preferences.xml | 9 |
3 files changed, 17 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 0cb693f3..882a9dc4 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -478,6 +478,8 @@ <string name="settings_gif_download_location_title">Gif Download Location</string> <string name="settings_video_download_location_title">Video Download Location</string> <string name="settings_separate_folder_for_each_subreddit">Separate Folder for Each Subreddit</string> + <string name="settings_swipe_action_title">Swipe Action</string> + <string name="settings_vibrate_when_action_triggered_title">Vibrate the phone when the action is triggered</string> <string name="no_link_available">Cannot get the link</string> @@ -877,5 +879,7 @@ <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> </resources> diff --git a/app/src/main/res/xml/gestures_and_buttons_preference.xml b/app/src/main/res/xml/gestures_and_buttons_preference.xml index 7a279247..7b883826 100644 --- a/app/src/main/res/xml/gestures_and_buttons_preference.xml +++ b/app/src/main/res/xml/gestures_and_buttons_preference.xml @@ -39,4 +39,8 @@ app:key="swap_tap_and_long_in_comments" app:title="@string/settings_swap_tap_and_long_title" /> + <Preference + app:title="@string/settings_swipe_action_title" + app:fragment="ml.docilealligator.infinityforreddit.Settings.SwipeActionPreferenceFragment" /> + </PreferenceScreen>
\ No newline at end of file diff --git a/app/src/main/res/xml/swipe_action_preferences.xml b/app/src/main/res/xml/swipe_action_preferences.xml new file mode 100644 index 00000000..daba347b --- /dev/null +++ b/app/src/main/res/xml/swipe_action_preferences.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> + + <SwitchPreference + app:defaultValue="true" + app:key="vibrate_when_action_triggered" + app:title="@string/settings_vibrate_when_action_triggered_title" /> + +</PreferenceScreen>
\ No newline at end of file |