From 417a84f21ab90354873f2cc4ca803a9e9f6d846f Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 10 Apr 2022 16:28:27 +0200 Subject: [PATCH] use proper menu colors at fullscreen view --- .../gallery/pro/activities/ViewPagerActivity.kt | 4 ++++ app/src/main/res/values/styles.xml | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt index f73b68887..c0e7984b4 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt @@ -84,6 +84,10 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View override fun onCreate(savedInstanceState: Bundle?) { useDynamicTheme = false + if (config.isUsingSystemTheme) { + setTheme(R.style.AppTheme_Material) + } + super.onCreate(savedInstanceState) setContentView(R.layout.activity_medium) diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index fdde24e05..09be94294 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -2,6 +2,12 @@ +