diff options
Diffstat (limited to 'Xamarin.Forms.ControlGallery.Android/Resources/values/styles.xml')
-rw-r--r-- | Xamarin.Forms.ControlGallery.Android/Resources/values/styles.xml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Xamarin.Forms.ControlGallery.Android/Resources/values/styles.xml b/Xamarin.Forms.ControlGallery.Android/Resources/values/styles.xml new file mode 100644 index 00000000..971153df --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Android/Resources/values/styles.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<resources> + <color name="custom_theme_color">#FF0000</color> + <style name="FormsTheme" parent="android:Theme.Holo.Light"> + <item name="android:windowActionBar">true</item> + <item name="android:windowBackground">@color/custom_theme_color</item> + </style> + + <style name="MyTheme" parent="MyTheme.Base"> + </style> + <!-- Base theme applied no matter what API --> + <style name="MyTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar"> + <!--If you are using revision 22.1 please use just windowNoTitle. Without android:--> + <item name="windowNoTitle">true</item> + <!--We will be using the toolbar so no need to show ActionBar--> + <item name="windowActionBar">false</item> + <!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette--> + <!-- colorPrimary is used for the default action bar background --> + <item name="colorPrimary">#2196F3</item> + <!-- colorPrimaryDark is used for the status bar --> + <item name="colorPrimaryDark">#1976D2</item> + <!-- colorAccent is used as the default value for colorControlActivated + which is used to tint widgets --> + <item name="colorAccent">#FF4081</item> + <!-- You can also set colorControlNormal, colorControlActivated + colorControlHighlight and colorSwitchThumbNormal. --> + <item name="windowActionModeOverlay">true</item> + + <item name="android:datePickerDialogTheme">@style/AppCompatDialogStyle</item> + </style> + + <style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog"> + <item name="colorAccent">#FF4081</item> + </style> + + <style name="TestStyle" parent="@android:style/Theme.Holo.Light.DarkActionBar"> + </style> +</resources>
\ No newline at end of file |