mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 14:37:59 +01:00
use proper menu colors at fullscreen view
This commit is contained in:
parent
17610252c0
commit
417a84f21a
2 changed files with 10 additions and 0 deletions
|
@ -84,6 +84,10 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
||||||
|
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
useDynamicTheme = false
|
useDynamicTheme = false
|
||||||
|
if (config.isUsingSystemTheme) {
|
||||||
|
setTheme(R.style.AppTheme_Material)
|
||||||
|
}
|
||||||
|
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
setContentView(R.layout.activity_medium)
|
setContentView(R.layout.activity_medium)
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,12 @@
|
||||||
|
|
||||||
<style name="AppTheme" parent="AppTheme.Base"/>
|
<style name="AppTheme" parent="AppTheme.Base"/>
|
||||||
|
|
||||||
|
<style name="AppTheme.Material" parent="AppTheme">
|
||||||
|
<item name="actionOverflowMenuStyle">@style/TopPopupMenuYou</item>
|
||||||
|
<item name="actionBarPopupTheme">@style/TopPopupMenuTextYou</item>
|
||||||
|
<item name="actionBarStyle">@style/AppTheme.ActionBar</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<style name="FullScreenTheme.Base" parent="AppTheme">
|
<style name="FullScreenTheme.Base" parent="AppTheme">
|
||||||
<item name="android:windowContentOverlay">@null</item>
|
<item name="android:windowContentOverlay">@null</item>
|
||||||
<item name="android:windowTranslucentNavigation">true</item>
|
<item name="android:windowTranslucentNavigation">true</item>
|
||||||
|
|
Loading…
Reference in a new issue