| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2015 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. |
| --> |
| |
| <!-- |
| =============================================================== |
| PLEASE READ |
| =============================================================== |
| |
| The Material themes must not be modified in order to pass CTS. |
| Many related themes and styles depend on other values defined in this file. |
| If you would like to provide custom themes and styles for your device, |
| please see themes_device_defaults.xml. |
| |
| =============================================================== |
| PLEASE READ |
| =============================================================== |
| --> |
| <resources> |
| |
| <!-- Material theme (day/night version) for activities. --> |
| <style name="Theme.Material.DayNight" parent="Theme.Material" /> |
| |
| <!-- Variant of Material.DayNight that has a solid (opaque) action bar |
| with an inverse color profile. The dark action bar sharply stands out against |
| the light content (when applicable). --> |
| <style name="Theme.Material.DayNight.DarkActionBar" parent="Theme.Material" /> |
| |
| <!-- Variant of Material.DayNight with no action bar. --> |
| <style name="Theme.Material.DayNight.NoActionBar" parent="Theme.Material.NoActionBar" /> |
| |
| <!-- Variant of Material.DayNight that has no title bar and fills |
| the entire screen. This theme |
| sets {@link android.R.attr#windowFullscreen} to true. --> |
| <style name="Theme.Material.DayNight.NoActionBar.Fullscreen" parent="Theme.Material.NoActionBar.Fullscreen" /> |
| |
| <!-- Variant of Material.DayNight that has no title bar and fills |
| the entire screen and extends into the display overscan region. This theme |
| sets {@link android.R.attr#windowFullscreen} and {@link android.R.attr#windowOverscan} |
| to true. --> |
| <style name="Theme.Material.DayNight.NoActionBar.Overscan" parent="Theme.Material.NoActionBar.Overscan" /> |
| |
| <!-- Variant of Material.DayNight that has no title bar and translucent |
| system decor. This theme sets {@link android.R.attr#windowTranslucentStatus} and |
| {@link android.R.attr#windowTranslucentNavigation} to true. --> |
| <style name="Theme.Material.DayNight.NoActionBar.TranslucentDecor" parent="Theme.Material.NoActionBar.TranslucentDecor" /> |
| |
| <!-- Default Material.DayNight theme for panel windows. This removes all extraneous |
| window decorations, so you basically have an empty rectangle in which |
| to place your content. It makes the window floating, with a transparent |
| background, and turns off dimming behind the window. --> |
| <style name="Theme.Material.DayNight.Panel" parent="Theme.Material.Panel" /> |
| |
| <!-- Material theme (day/night version) for dialog windows and activities, |
| which is used by the {@link android.app.Dialog} class. This changes |
| the window to be floating (not fill the entire screen), and puts a |
| frame around its contents. You can set this theme on an activity if |
| you would like to make an activity that looks like a Dialog. --> |
| <style name="Theme.Material.DayNight.Dialog" parent="Theme.Material.DayNight.BaseDialog" /> |
| <style name="Theme.Material.DayNight.BaseDialog" parent="Theme.Material.BaseDialog" /> |
| |
| <!-- Variant of Theme.Material.DayNight.Dialog that has a nice minimum width for |
| a regular dialog. --> |
| <style name="Theme.Material.DayNight.Dialog.MinWidth" parent="Theme.Material.Dialog.MinWidth" /> |
| |
| <!-- Variant of Theme.Material.DayNight.Dialog that does not include a title bar. --> |
| <style name="Theme.Material.DayNight.Dialog.NoActionBar" parent="Theme.Material.Dialog.NoActionBar" /> |
| |
| <!-- Variant of Theme.Material.DayNight.Dialog.NoActionBar that has a nice minimum width for |
| a regular dialog. --> |
| <style name="Theme.Material.DayNight.Dialog.NoActionBar.MinWidth" parent="Theme.Material.Dialog.NoActionBar.MinWidth" /> |
| |
| <!-- Variant of Theme.Material.DayNight.Dialog that has a fixed size. --> |
| <style name="Theme.Material.DayNight.Dialog.FixedSize" parent="Theme.Material.Dialog.FixedSize" /> |
| |
| <!-- Variant of Theme.Material.DayNight.Dialog.NoActionBar that has a fixed size. --> |
| <style name="Theme.Material.DayNight.Dialog.NoActionBar.FixedSize" parent="Theme.Material.Dialog.NoActionBar.FixedSize" /> |
| |
| <!-- Theme for a window that will be displayed either full-screen on |
| smaller screens (small, normal) or as a dialog on larger screens |
| (large, xlarge). --> |
| <style name="Theme.Material.DayNight.DialogWhenLarge" parent="Theme.Material.DialogWhenLarge" /> |
| |
| <!-- Theme for a window with a dark action bar that will be displayed |
| either full-screen on smaller screens (small, normal) or as a dialog |
| on larger screens (large, xlarge). --> |
| <style name="Theme.Material.DayNight.DialogWhenLarge.DarkActionBar" parent="Theme.Material.DialogWhenLarge" /> |
| |
| <!-- Theme for a window without an action bar that will be displayed either full-screen |
| on smaller screens (small, normal) or as a dialog on larger screens |
| (large, xlarge). --> |
| <style name="Theme.Material.DayNight.DialogWhenLarge.NoActionBar" parent="Theme.Material.DialogWhenLarge.NoActionBar" /> |
| |
| <!-- Theme for a presentation window on a secondary display. --> |
| <style name="Theme.Material.DayNight.Dialog.Presentation" parent="Theme.Material.Dialog.Presentation" /> |
| |
| <!-- Material user theme for alert dialog windows, which is used by the |
| {@link android.app.AlertDialog} class. --> |
| <style name="Theme.Material.DayNight.Dialog.Alert" parent="Theme.Material.DayNight.Dialog.BaseAlert" /> |
| <style name="Theme.Material.DayNight.Dialog.BaseAlert" parent="Theme.Material.Dialog.BaseAlert" /> |
| |
| <style name="Theme.Material.DayNight.SearchBar" parent="Theme.Material.SearchBar" /> |
| <style name="Theme.Material.DayNight.CompactMenu" parent="Theme.Material.CompactMenu" /> |
| |
| </resources> |