diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-01-25 20:40:16 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-01-25 20:40:16 +0100 |
commit | 466d03a38cb01e9ff9a2d11be113a81c2bdce34a (patch) | |
tree | d584482d4ed5e9b8fe569af7ce25594c1bd51d63 /mobile/App_Resources/Android/src/main/res/values-v21/styles.xml |
initial commit
Diffstat (limited to 'mobile/App_Resources/Android/src/main/res/values-v21/styles.xml')
-rw-r--r-- | mobile/App_Resources/Android/src/main/res/values-v21/styles.xml | 34 |
1 files changed, 34 insertions, 0 deletions
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> |