hide the navigation bar at fullscreen photos

This commit is contained in:
tibbi 2016-04-18 20:36:31 +02:00
parent d3e47f8133
commit 01a9036c17
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,7 @@
<resources>
<style name="FullScreenTheme" parent="FullScreenTheme.Base">
<item name="android:windowTranslucentNavigation">true</item>
</style>
</resources>

View file

@ -6,12 +6,14 @@
<item name="colorAccent">@color/colorAccent</item>
</style>
<style name="FullScreenTheme" parent="AppTheme">
<style name="FullScreenTheme.Base" parent="AppTheme">
<item name="android:windowContentOverlay">@null</item>
<item name="actionBarStyle">@style/MyFullScreenActionBar</item>
<item name="android:actionBarStyle">@style/MyFullScreenActionBar</item>
</style>
<style name="FullScreenTheme" parent="FullScreenTheme.Base"/>
<style name="MyFullScreenActionBar" parent="Widget.AppCompat.Light.ActionBar">
<item name="background">@color/actionbar_grey</item>
<item name="android:background">@color/actionbar_grey</item>