mirror of
https://github.com/nextcloud/android.git
synced 2024-11-30 08:25:21 +03:00
Fix navigationbar in all activity
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
This commit is contained in:
parent
a575cb01c6
commit
183e1eb77b
3 changed files with 39 additions and 4 deletions
|
@ -22,4 +22,17 @@
|
|||
<style name="Theme.ownCloud.Toolbar.Drawer">
|
||||
<item name="android:navigationBarColor">@color/bg_default</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.ownCloud.Toolbar" parent="Theme.ownCloud.ToolbarBase">
|
||||
<item name="android:navigationBarColor">@color/bg_default</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.ownCloud" parent="Theme.ownCloudBase">
|
||||
<item name="android:navigationBarColor">@color/bg_default</item>
|
||||
</style>
|
||||
|
||||
<style name="FallbackThemingTheme" parent="FallbackThemingThemeBase21">
|
||||
<item name="android:navigationBarColor">@color/bg_default</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
|
|
@ -18,16 +18,20 @@
|
|||
-->
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- General ownCloud app style -->
|
||||
<style name="Theme.ownCloud" parent="BaseTheme.ownCloud">
|
||||
<style name="Theme.ownCloudBase" parent="BaseTheme.ownCloud">
|
||||
<item name="android:actionModeBackground">@color/action_mode_background</item>
|
||||
<item name="android:datePickerDialogTheme">@style/FallbackDatePickerDialogTheme</item>
|
||||
</style>
|
||||
|
||||
<style name="FallbackThemingTheme" parent="FallbackThemingThemeBase">
|
||||
<style name="Theme.ownCloud" parent="Theme.ownCloudBase" />
|
||||
|
||||
<style name="FallbackThemingThemeBase21" parent="FallbackThemingThemeBase">
|
||||
<item name="android:actionModeBackground">@color/action_mode_background</item>
|
||||
<item name="android:datePickerDialogTheme">@style/FallbackDatePickerDialogTheme</item>
|
||||
</style>
|
||||
|
||||
<style name="FallbackThemingTheme" parent="FallbackThemingThemeBase21" />
|
||||
|
||||
<style name="FallbackDatePickerDialogTheme" parent="Theme.MaterialComponents.DayNight.Dialog.Alert">
|
||||
<item name="colorPrimary">@color/bg_default</item>
|
||||
<item name="android:textAllCaps">false</item>
|
||||
|
@ -51,16 +55,18 @@
|
|||
<item name="android:windowBackground">@color/bg_default</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.ownCloud.Toolbar" parent="BaseTheme.ownCloud.Toolbar">
|
||||
<style name="Theme.ownCloud.ToolbarBase" parent="BaseTheme.ownCloud.Toolbar">
|
||||
<item name="android:actionModeBackground">@color/action_mode_background</item>
|
||||
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.ownCloud.Toolbar" parent="Theme.ownCloud.ToolbarBase" />
|
||||
|
||||
<style name="Theme.ownCloud.Toolbar.DrawerBase" parent="Theme.ownCloud.Toolbar">
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.ownCloud.Toolbar.Drawer" parent="Theme.ownCloud.Toolbar.DrawerBase"/>
|
||||
<style name="Theme.ownCloud.Toolbar.Drawer" parent="Theme.ownCloud.Toolbar.DrawerBase" />
|
||||
|
||||
<!-- Launch screen -->
|
||||
<style name="Theme.ownCloud.Launcher">
|
||||
|
|
|
@ -24,4 +24,20 @@
|
|||
<item name="android:windowLightNavigationBar">true</item>
|
||||
<item name="android:navigationBarColor">@color/bg_default</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.ownCloud.Toolbar" parent="Theme.ownCloud.ToolbarBase">
|
||||
<item name="android:windowLightNavigationBar">true</item>
|
||||
<item name="android:navigationBarColor">@color/bg_default</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.ownCloud" parent="Theme.ownCloudBase">
|
||||
<item name="android:windowLightNavigationBar">true</item>
|
||||
<item name="android:navigationBarColor">@color/bg_default</item>
|
||||
</style>
|
||||
|
||||
<style name="FallbackThemingTheme" parent="FallbackThemingThemeBase21">
|
||||
<item name="android:windowLightNavigationBar">true</item>
|
||||
<item name="android:navigationBarColor">@color/bg_default</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue