summaryrefslogtreecommitdiff
path: root/mobile/App_Resources/Android/src/main/res/values-v21
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-01-25 20:40:16 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-01-25 20:40:16 +0100
commit466d03a38cb01e9ff9a2d11be113a81c2bdce34a (patch)
treed584482d4ed5e9b8fe569af7ce25594c1bd51d63 /mobile/App_Resources/Android/src/main/res/values-v21
initial commit
Diffstat (limited to 'mobile/App_Resources/Android/src/main/res/values-v21')
-rw-r--r--mobile/App_Resources/Android/src/main/res/values-v21/colors.xml5
-rw-r--r--mobile/App_Resources/Android/src/main/res/values-v21/styles.xml34
2 files changed, 39 insertions, 0 deletions
diff --git a/mobile/App_Resources/Android/src/main/res/values-v21/colors.xml b/mobile/App_Resources/Android/src/main/res/values-v21/colors.xml
new file mode 100644
index 0000000..da5ca2f
--- /dev/null
+++ b/mobile/App_Resources/Android/src/main/res/values-v21/colors.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<resources>
+ <!-- You can override base colors from values/colors.xml here, for example: -->
+ <!-- <color name="ns_accent">#65ADF1</color> -->
+</resources>
diff --git a/mobile/App_Resources/Android/src/main/res/values-v21/styles.xml b/mobile/App_Resources/Android/src/main/res/values-v21/styles.xml
new file mode 100644
index 0000000..04d8a06
--- /dev/null
+++ b/mobile/App_Resources/Android/src/main/res/values-v21/styles.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!-- Application theme -->
+ <style name="AppThemeBase21" parent="AppThemeBase">
+ <!-- Uncomment this to make the app show underneat the status bar -->
+ <!-- <item name="android:windowTranslucentStatus">true</item> -->
+
+ <item name="android:datePickerStyle">@style/SpinnerDatePicker</item>
+ <item name="android:timePickerStyle">@style/SpinnerTimePicker</item>
+ </style>
+
+ <style name="AppTheme" parent="AppThemeBase21">
+ </style>
+
+ <!-- Default style for DatePicker - in spinner mode -->
+ <style name="SpinnerDatePicker" parent="android:Widget.Material.Light.DatePicker">
+ <!-- set the default mode for the date picker (supported values: spinner, calendar) -->
+ <item name="android:datePickerMode">spinner</item>
+ </style>
+
+ <!-- Default style for TimePicker - in spinner mode -->
+ <style name="SpinnerTimePicker" parent="android:Widget.Material.Light.TimePicker">
+ <!-- set the default mode for the time picker (supported values: spinner, clock) -->
+ <item name="android:timePickerMode">spinner</item>
+ </style>
+
+ <style name="NativeScriptToolbarStyle" parent="NativeScriptToolbarStyleBase">
+ <item name="android:elevation">4dp</item>
+
+ <!-- Add padding to the ActionBar - useful when android:windowTranslucentStatus is set to true -->
+ <!-- <item name="android:paddingTop">24dp</item> -->
+ </style>
+</resources>