|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<resources xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 | + |
| 4 | + <!-- theme to use FOR launch screen--> |
| 5 | + <style name="LaunchScreenThemeBase" parent="Theme.AppCompat.Light.NoActionBar"> |
| 6 | + <item name="toolbarStyle">@style/NativeScriptToolbarStyle</item> |
| 7 | + |
| 8 | + <item name="colorPrimary">@color/ns_primary</item> |
| 9 | + <item name="colorPrimaryDark">@color/ns_primaryDark</item> |
| 10 | + <item name="colorAccent">@color/ns_accent</item> |
| 11 | + |
| 12 | + <item name="android:windowBackground">@drawable/splash_screen</item> |
| 13 | + |
| 14 | + <item name="android:windowActionBarOverlay">true</item> |
| 15 | + <item name="android:windowTranslucentStatus">true</item> |
| 16 | + </style> |
| 17 | + |
| 18 | + <style name="LaunchScreenTheme" parent="LaunchScreenThemeBase"> |
| 19 | + </style> |
| 20 | + |
| 21 | + <!-- theme to use AFTER launch screen is loaded--> |
| 22 | + <style name="AppThemeBase" parent="Theme.AppCompat.Light.NoActionBar"> |
| 23 | + <item name="toolbarStyle">@style/NativeScriptToolbarStyle</item> |
| 24 | + |
| 25 | + <item name="colorPrimary">@color/ns_primary</item> |
| 26 | + <item name="colorPrimaryDark">@color/ns_primaryDark</item> |
| 27 | + <item name="colorAccent">@color/ns_accent</item> |
| 28 | + </style> |
| 29 | + |
| 30 | + <style name="AppTheme" parent="AppThemeBase"> |
| 31 | + </style> |
| 32 | + |
| 33 | + <!-- theme for action-bar --> |
| 34 | + <style name="NativeScriptToolbarStyleBase" parent="Widget.AppCompat.Toolbar"> |
| 35 | + <item name="android:background">@color/ns_primary</item> |
| 36 | + <item name="theme">@style/ThemeOverlay.AppCompat.ActionBar</item> |
| 37 | + <item name="popupTheme">@style/ThemeOverlay.AppCompat</item> |
| 38 | + </style> |
| 39 | + |
| 40 | + <style name="NativeScriptToolbarStyle" parent="NativeScriptToolbarStyleBase"> |
| 41 | + </style> |
| 42 | +</resources> |
0 commit comments