summaryrefslogtreecommitdiff
path: root/mobile-ns/App_Resources/Android/src/main/res/values/styles.xml
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-01-26 14:51:36 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-01-26 14:52:57 +0100
commitd3bf2d09f740221771806789b00bf915c9f5f2e3 (patch)
tree95f99eabd763dff1907f107393504ee75aa747d7 /mobile-ns/App_Resources/Android/src/main/res/values/styles.xml
parent466d03a38cb01e9ff9a2d11be113a81c2bdce34a (diff)
initial commitHEADmain
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.xml42
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>