From 92217c5a666626f5c58b40cdc0737f654361a3b2 Mon Sep 17 00:00:00 2001 From: proletarius101 Date: Wed, 10 Feb 2021 01:46:54 +0800 Subject: [PATCH] fix: transparent background of share to add url dialog --- app/src/main/AndroidManifest.xml | 7 +++- .../fr/gaulupeau/apps/Poche/ui/Themes.java | 16 ++++---- app/src/main/res/values-night/themes.xml | 4 ++ app/src/main/res/values/styles.xml | 40 ------------------- app/src/main/res/values/themes.xml | 33 +++++++++++++++ 5 files changed, 50 insertions(+), 50 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 457ecb2e7..c04b2c2ef 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -51,7 +51,8 @@ android:name="fr.gaulupeau.apps.Poche.ui.AddUrlProxyActivity" android:autoRemoveFromRecents="true" android:excludeFromRecents="true" - android:noHistory="true"> + android:noHistory="true" + android:theme="@style/Theme.App.ProxyTheme"> @@ -90,7 +91,9 @@ - + diff --git a/app/src/main/java/fr/gaulupeau/apps/Poche/ui/Themes.java b/app/src/main/java/fr/gaulupeau/apps/Poche/ui/Themes.java index 4a1fd7ca5..0e1438124 100644 --- a/app/src/main/java/fr/gaulupeau/apps/Poche/ui/Themes.java +++ b/app/src/main/java/fr/gaulupeau/apps/Poche/ui/Themes.java @@ -74,56 +74,56 @@ public enum Theme { R.string.themeName_default, R.style.Theme_App, R.style.Theme_App_NoActionBar, - R.style.DialogTheme + R.style.Theme_App_DialogTheme ), CONTRAST( R.string.themeName_contrast, R.style.Theme_App_Contrast, R.style.Theme_App_Contrast_NoActionBar, - R.style.DialogTheme + R.style.Theme_App_DialogTheme ), LIGHT( R.string.themeName_light, R.style.Theme_App, R.style.Theme_App_NoActionBar, - R.style.DialogTheme + R.style.Theme_App_DialogTheme ), LIGHT_CONTRAST( R.string.themeName_light_contrast, R.style.Theme_App_Contrast, R.style.Theme_App_Contrast_NoActionBar, - R.style.DialogTheme + R.style.Theme_App_DialogTheme ), E_INK( R.string.themeName_eink, R.style.Theme_App_Contrast, R.style.Theme_App_Contrast_NoActionBar, - R.style.DialogTheme + R.style.Theme_App_DialogTheme ), DARK( R.string.themeName_dark, R.style.Theme_App, R.style.Theme_App_NoActionBar, - R.style.DialogThemeDark + R.style.Theme_App_DialogTheme ), DARK_CONTRAST( R.string.themeName_dark_contrast, R.style.Theme_App_Contrast, R.style.Theme_App_Contrast_NoActionBar, - R.style.DialogThemeDark + R.style.Theme_App_DialogTheme ), SOLARIZED( R.string.themeName_solarized, R.style.Theme_App_Solarized, R.style.Theme_App_Solarized_NoActionBar, - R.style.DialogTheme + R.style.Theme_App_DialogTheme ); private int nameId; diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml index c06b077fd..cef93fb6a 100644 --- a/app/src/main/res/values-night/themes.xml +++ b/app/src/main/res/values-night/themes.xml @@ -28,4 +28,8 @@ - - - - - - - - - diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 04594efd4..d68730076 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -138,4 +138,37 @@ + + + + \ No newline at end of file