diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-01-26 14:51:36 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-01-26 14:52:57 +0100 |
commit | d3bf2d09f740221771806789b00bf915c9f5f2e3 (patch) | |
tree | 95f99eabd763dff1907f107393504ee75aa747d7 /mobile-ns/App_Resources/Android/src/main/res/values-v21/styles.xml | |
parent | 466d03a38cb01e9ff9a2d11be113a81c2bdce34a (diff) |
Diffstat (limited to 'mobile-ns/App_Resources/Android/src/main/res/values-v21/styles.xml')
-rw-r--r-- | mobile-ns/App_Resources/Android/src/main/res/values-v21/styles.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/mobile-ns/App_Resources/Android/src/main/res/values-v21/styles.xml b/mobile-ns/App_Resources/Android/src/main/res/values-v21/styles.xml new file mode 100644 index 0000000..04d8a06 --- /dev/null +++ b/mobile-ns/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> |