From 00b0cfc15f6cd3b590c522d4c4ad31f36c85d08b Mon Sep 17 00:00:00 2001 From: Colin Kinloch Date: Thu, 24 Oct 2019 15:46:27 +0100 Subject: [PATCH 1/2] Ignore cutouts in viewer activity --- build.gradle | 2 +- twidere/src/main/res/values/themes.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 137deb89c..bad390095 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ allprojects { projectVersionCode = 400 projectVersionName = '3.7.6' - globalCompileSdkVersion = 26 + globalCompileSdkVersion = 28 globalBuildToolsVersion = '28.0.3' } diff --git a/twidere/src/main/res/values/themes.xml b/twidere/src/main/res/values/themes.xml index 5bbbbe360..849e839ea 100644 --- a/twidere/src/main/res/values/themes.xml +++ b/twidere/src/main/res/values/themes.xml @@ -41,6 +41,7 @@ @android:color/transparent true + never true @style/Widget.Twidere.Viewer.ActionBar From bd3ea695e9ef08fe12c3abbead2ea99766c70698 Mon Sep 17 00:00:00 2001 From: Colin Kinloch Date: Mon, 28 Oct 2019 20:35:05 +0000 Subject: [PATCH 2/2] Use cutout mode "shortEdges" to display consistently in fullscreen media viewer --- twidere/src/main/res/values/themes.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twidere/src/main/res/values/themes.xml b/twidere/src/main/res/values/themes.xml index 849e839ea..f6e76b4f8 100644 --- a/twidere/src/main/res/values/themes.xml +++ b/twidere/src/main/res/values/themes.xml @@ -41,7 +41,7 @@ @android:color/transparent true - never + shortEdges true @style/Widget.Twidere.Viewer.ActionBar