| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- Copyright (C) 2014 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <resources> |
| <style name="Theme.Micro" parent="Theme.Holo.NoActionBar"> |
| <item name="alertDialogTheme">@style/Theme.Micro.Dialog.Alert</item> |
| <item name="alertDialogStyle">@style/AlertDialog.Micro</item> |
| <item name="dialogTheme">@style/Theme.Micro.Dialog</item> |
| <item name="textViewStyle">@style/Widget.Micro.TextView</item> |
| <item name="numberPickerStyle">@style/Widget.Micro.NumberPicker</item> |
| <item name="windowAnimationStyle">@style/Animation.Micro.Activity</item> |
| <item name="windowBackground">@color/black</item> |
| <item name="windowContentOverlay">@null</item> |
| <item name="windowIsFloating">false</item> |
| <!-- We need the windows to be translucent for SwipeToDismiss layout |
| to work properly. --> |
| <item name="windowIsTranslucent">true</item> |
| <item name="windowSwipeToDismiss">true</item> |
| <!-- Required to force windowInsets dispatch through application UI. --> |
| <item name="windowOverscan">true</item> |
| </style> |
| |
| <style name="Theme.Micro.Light" parent="Theme.Holo.Light.NoActionBar"> |
| <item name="alertDialogTheme">@style/Theme.Micro.Dialog.Alert</item> |
| <item name="alertDialogStyle">@style/AlertDialog.Micro</item> |
| <item name="dialogTheme">@style/Theme.Micro.Dialog</item> |
| <item name="textViewStyle">@style/Widget.Micro.TextView</item> |
| <item name="numberPickerStyle">@style/Widget.Micro.NumberPicker</item> |
| <item name="windowAnimationStyle">@style/Animation.Micro.Activity</item> |
| <item name="windowBackground">@color/white</item> |
| <item name="windowContentOverlay">@null</item> |
| <item name="windowIsFloating">false</item> |
| <!-- We need the windows to be translucent for SwipeToDismiss layout |
| to work properly. --> |
| <item name="windowIsTranslucent">true</item> |
| <item name="windowSwipeToDismiss">true</item> |
| <!-- Required to force windowInsets dispatch through application UI. --> |
| <item name="windowOverscan">true</item> |
| </style> |
| |
| <style name="Theme.Micro.Dialog" parent="Theme.Holo.Light.Dialog"> |
| <item name="windowTitleStyle">@android:style/DialogWindowTitle.Micro</item> |
| <item name="windowIsFloating">false</item> |
| <item name="windowFullscreen">true</item> |
| <item name="textAppearance">@style/TextAppearance.Micro</item> |
| <item name="textAppearanceInverse">@style/TextAppearance.Micro</item> |
| <!-- Required to force windowInsets dispatch through application UI. --> |
| <item name="windowOverscan">true</item> |
| </style> |
| |
| <style name="Theme.Micro.Dialog.Alert"> |
| <item name="windowTitleStyle">@style/DialogWindowTitle.Micro</item> |
| <item name="alertDialogStyle">@style/AlertDialog.Micro</item> |
| <item name="windowIsFloating">false</item> |
| <item name="windowBackground">@android:color/transparent</item> |
| <item name="windowOverscan">true</item> |
| <item name="windowContentOverlay">@null</item> |
| <item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item> |
| <item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item> |
| </style> |
| |
| <style name="Theme.Micro.Dialog.AppError" parent="Theme.Micro.Dialog"> |
| <item name="windowBackground">@null</item> |
| <item name="alertDialogStyle">@style/AlertDialog.Micro</item> |
| <item name="windowOverscan">true</item> |
| <item name="windowCloseOnTouchOutside">false</item> |
| <item name="textSize">20sp</item> |
| <item name="fontFamily">sans-serif-condensed-light</item> |
| <item name="textColor">@color/micro_text_light</item> |
| </style> |
| </resources> |