mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 00:17:58 +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?) {
|
||||
useDynamicTheme = false
|
||||
if (config.isUsingSystemTheme) {
|
||||
setTheme(R.style.AppTheme_Material)
|
||||
}
|
||||
|
||||
super.onCreate(savedInstanceState)
|
||||
setContentView(R.layout.activity_medium)
|
||||
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
<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">
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<item name="android:windowTranslucentNavigation">true</item>
|
||||
|
|
Loading…
Reference in a new issue