From a9ba807cf42632b1744b5af5b9e1081575fecae5 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 15 Jul 2020 10:42:46 +0800 Subject: Fix gif too small in ViewImageOrGifActivity. Hide immersive interface entry if the device has Android version lower than 8.0. --- app/src/main/res/xml/immersive_interface_preferences.xml | 5 ++--- app/src/main/res/xml/interface_preference.xml | 4 +++- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'app/src/main/res/xml') 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" /> + app:summary="@string/settings_immersive_interface_ignore_nav_bar_summary" /> \ 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" /> + app:fragment="ml.docilealligator.infinityforreddit.Settings.ImmersiveInterfacePreferenceFragment" + app:isPreferenceVisible="false" />