summaryrefslogtreecommitdiff
path: root/mobile-ns/App_Resources/Android/src/main/res/values
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-ns/App_Resources/Android/src/main/res/values')
-rw-r--r--mobile-ns/App_Resources/Android/src/main/res/values/colors.xml14
-rw-r--r--mobile-ns/App_Resources/Android/src/main/res/values/ic_launcher_background.xml4
-rw-r--r--mobile-ns/App_Resources/Android/src/main/res/values/styles.xml42
3 files changed, 60 insertions, 0 deletions
diff --git a/mobile-ns/App_Resources/Android/src/main/res/values/colors.xml b/mobile-ns/App_Resources/Android/src/main/res/values/colors.xml
new file mode 100644
index 0000000..78c4a51
--- /dev/null
+++ b/mobile-ns/App_Resources/Android/src/main/res/values/colors.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<resources>
+ <!-- The default color of the ActionBar -->
+ <color name="ns_primary">#F5F5F5</color>
+
+ <!-- (API21+) The color of the status bar and contextual app bars; this is normally a dark version of colorPrimary. -->
+ <color name="ns_primaryDark">#757575</color>
+
+ <!-- The color of UI controls such as check boxes, radio buttons, and edit text boxes. -->
+ <color name="ns_accent">#65ADF1</color>
+
+ <!-- this is unused in the default themes, so we might want to remove it? -->
+ <!-- <color name="ns_blue">#272734</color> -->
+</resources>
diff --git a/mobile-ns/App_Resources/Android/src/main/res/values/ic_launcher_background.xml b/mobile-ns/App_Resources/Android/src/main/res/values/ic_launcher_background.xml
new file mode 100644
index 0000000..c5d5899
--- /dev/null
+++ b/mobile-ns/App_Resources/Android/src/main/res/values/ic_launcher_background.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="ic_launcher_background">#FFFFFF</color>
+</resources> \ No newline at end of file
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>