diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-07-15 02:42:46 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-07-15 02:42:46 +0000 |
commit | a9ba807cf42632b1744b5af5b9e1081575fecae5 (patch) | |
tree | 4093f8fe5e0442d6431c9ee3946ad779b0b17d9a /app/src/main/res/xml | |
parent | c97120528bd158c7ff430846ac04acfa74f78058 (diff) | |
download | infinity-for-reddit-a9ba807cf42632b1744b5af5b9e1081575fecae5.tar infinity-for-reddit-a9ba807cf42632b1744b5af5b9e1081575fecae5.tar.gz infinity-for-reddit-a9ba807cf42632b1744b5af5b9e1081575fecae5.tar.bz2 infinity-for-reddit-a9ba807cf42632b1744b5af5b9e1081575fecae5.tar.lz infinity-for-reddit-a9ba807cf42632b1744b5af5b9e1081575fecae5.tar.xz infinity-for-reddit-a9ba807cf42632b1744b5af5b9e1081575fecae5.tar.zst infinity-for-reddit-a9ba807cf42632b1744b5af5b9e1081575fecae5.zip |
Fix gif too small in ViewImageOrGifActivity. Hide immersive interface entry if the device has Android version lower than 8.0.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r-- | app/src/main/res/xml/immersive_interface_preferences.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/xml/interface_preference.xml | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/app/src/main/res/xml/immersive_interface_preferences.xml b/app/src/main/res/xml/immersive_interface_preferences.xml index 962faa10..6cd31d84 100644 --- a/app/src/main/res/xml/immersive_interface_preferences.xml +++ b/app/src/main/res/xml/immersive_interface_preferences.xml @@ -5,13 +5,12 @@ app:defaultValue="true" app:key="immersive_interface" app:title="@string/settings_immersive_interface_title" - app:isPreferenceVisible="false" /> + app:summary="@string/settings_immersive_interface_summary" /> <SwitchPreference app:defaultValue="false" app:key="immersive_interface_ignore_nav_bar" app:title="@string/settings_immersive_interface_ignore_nav_bar_title" - app:summary="@string/settings_immersive_interface_ignore_nav_bar_summary" - app:isPreferenceVisible="false" /> + app:summary="@string/settings_immersive_interface_ignore_nav_bar_summary" /> </PreferenceScreen>
\ No newline at end of file diff --git a/app/src/main/res/xml/interface_preference.xml b/app/src/main/res/xml/interface_preference.xml index e391a21c..8ad53611 100644 --- a/app/src/main/res/xml/interface_preference.xml +++ b/app/src/main/res/xml/interface_preference.xml @@ -8,8 +8,10 @@ app:fragment="ml.docilealligator.infinityforreddit.Settings.FontPreferenceFragment" /> <Preference + app:key="immersive_interface_entry" app:title="@string/settings_immersive_interface_title" - app:fragment="ml.docilealligator.infinityforreddit.Settings.ImmersiveInterfacePreferenceFragment" /> + app:fragment="ml.docilealligator.infinityforreddit.Settings.ImmersiveInterfacePreferenceFragment" + app:isPreferenceVisible="false" /> <Preference app:title="@string/settings_customize_tabs_in_main_page_title" |