diff options
Diffstat (limited to 'mobile-ns/App_Resources/Android/src/main/res/values/styles.xml')
-rw-r--r-- | mobile-ns/App_Resources/Android/src/main/res/values/styles.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/mobile-ns/App_Resources/Android/src/main/res/values/styles.xml b/mobile-ns/App_Resources/Android/src/main/res/values/styles.xml new file mode 100644 index 0000000..4f91b61 --- /dev/null +++ b/mobile-ns/App_Resources/Android/src/main/res/values/styles.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources xmlns:android="http://schemas.android.com/apk/res/android"> + + <!-- theme to use FOR launch screen--> + <style name="LaunchScreenThemeBase" parent="Theme.AppCompat.Light.NoActionBar"> + <item name="toolbarStyle">@style/NativeScriptToolbarStyle</item> + + <item name="colorPrimary">@color/ns_primary</item> + <item name="colorPrimaryDark">@color/ns_primaryDark</item> + <item name="colorAccent">@color/ns_accent</item> + + <item name="android:windowBackground">@drawable/splash_screen</item> + + <item name="android:windowActionBarOverlay">true</item> + <item name="android:windowTranslucentStatus">true</item> + </style> + + <style name="LaunchScreenTheme" parent="LaunchScreenThemeBase"> + </style> + + <!-- theme to use AFTER launch screen is loaded--> + <style name="AppThemeBase" parent="Theme.AppCompat.Light.NoActionBar"> + <item name="toolbarStyle">@style/NativeScriptToolbarStyle</item> + + <item name="colorPrimary">@color/ns_primary</item> + <item name="colorPrimaryDark">@color/ns_primaryDark</item> + <item name="colorAccent">@color/ns_accent</item> + </style> + + <style name="AppTheme" parent="AppThemeBase"> + </style> + + <!-- theme for action-bar --> + <style name="NativeScriptToolbarStyleBase" parent="Widget.AppCompat.Toolbar"> + <item name="android:background">@color/ns_primary</item> + <item name="theme">@style/ThemeOverlay.AppCompat.ActionBar</item> + <item name="popupTheme">@style/ThemeOverlay.AppCompat</item> + </style> + + <style name="NativeScriptToolbarStyle" parent="NativeScriptToolbarStyleBase"> + </style> +</resources> |