hide the navigation bar at fullscreen photos
This commit is contained in:
parent
d3e47f8133
commit
01a9036c17
2 changed files with 10 additions and 1 deletions
7
app/src/main/res/values-v21/styles.xml
Normal file
7
app/src/main/res/values-v21/styles.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<resources>
|
||||
|
||||
<style name="FullScreenTheme" parent="FullScreenTheme.Base">
|
||||
<item name="android:windowTranslucentNavigation">true</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue