|
|
|
|
@@ -199,25 +199,50 @@ easier.
|
|
|
|
|
|
|
|
|
|
<item name="mediaRouteButtonStyle">@style/Widget.DeviceDefault.MediaRouteButton</item>
|
|
|
|
|
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of {@link #Theme_DeviceDefault} with no action bar -->
|
|
|
|
|
<style name="Theme.DeviceDefault.NoActionBar" parent="Theme.Material.NoActionBar" />
|
|
|
|
|
<style name="Theme.DeviceDefault.NoActionBar" parent="Theme.Material.NoActionBar">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of {@link #Theme_DeviceDefault} with no action bar and no status bar. This theme
|
|
|
|
|
sets {@link android.R.attr#windowFullscreen} to true. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.NoActionBar.Fullscreen" parent="Theme.Material.NoActionBar.Fullscreen" />
|
|
|
|
|
<style name="Theme.DeviceDefault.NoActionBar.Fullscreen" parent="Theme.Material.NoActionBar.Fullscreen">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of {@link #Theme_DeviceDefault} with no action bar and no status bar and
|
|
|
|
|
extending in to overscan region. This theme
|
|
|
|
|
sets {@link android.R.attr#windowFullscreen} and {@link android.R.attr#windowOverscan}
|
|
|
|
|
to true. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.NoActionBar.Overscan" parent="Theme.Material.NoActionBar.Overscan" />
|
|
|
|
|
<style name="Theme.DeviceDefault.NoActionBar.Overscan" parent="Theme.Material.NoActionBar.Overscan">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of {@link #Theme_DeviceDefault} 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.DeviceDefault.NoActionBar.TranslucentDecor" parent="Theme.Material.NoActionBar.TranslucentDecor" />
|
|
|
|
|
<style name="Theme.DeviceDefault.NoActionBar.TranslucentDecor" parent="Theme.Material.NoActionBar.TranslucentDecor">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault theme for dialog windows and activities. This changes the window to be
|
|
|
|
|
floating (not fill the entire screen), and puts a frame around its contents. You can set this
|
|
|
|
|
@@ -231,18 +256,38 @@ easier.
|
|
|
|
|
|
|
|
|
|
<item name="textAppearance">@style/TextAppearance.DeviceDefault</item>
|
|
|
|
|
<item name="textAppearanceInverse">@style/TextAppearance.DeviceDefault.Inverse</item>
|
|
|
|
|
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of {@link #Theme_DeviceDefault_Dialog} that has a nice minimum width for a
|
|
|
|
|
regular dialog. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Dialog.MinWidth" parent="Theme.Material.Dialog.MinWidth" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Dialog.MinWidth" parent="Theme.Material.Dialog.MinWidth">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of {@link #Theme_DeviceDefault_Dialog} without an action bar -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Dialog.NoActionBar" parent="Theme.Material.Dialog.NoActionBar" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Dialog.NoActionBar" parent="Theme.Material.Dialog.NoActionBar">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of {@link #Theme_DeviceDefault_Dialog_NoActionBar} that has a nice minimum width
|
|
|
|
|
for a regular dialog. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Dialog.NoActionBar.MinWidth" parent="Theme.Material.Dialog.NoActionBar.MinWidth" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Dialog.NoActionBar.MinWidth" parent="Theme.Material.Dialog.NoActionBar.MinWidth">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of Theme.DeviceDefault.Dialog that has a fixed size. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Dialog.FixedSize">
|
|
|
|
|
@@ -262,44 +307,99 @@ easier.
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault 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.DeviceDefault.DialogWhenLarge" parent="Theme.Material.DialogWhenLarge" />
|
|
|
|
|
<style name="Theme.DeviceDefault.DialogWhenLarge" parent="Theme.Material.DialogWhenLarge">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault 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.DeviceDefault.DialogWhenLarge.NoActionBar" parent="Theme.Material.DialogWhenLarge.NoActionBar" />
|
|
|
|
|
<style name="Theme.DeviceDefault.DialogWhenLarge.NoActionBar" parent="Theme.Material.DialogWhenLarge.NoActionBar">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault theme for a presentation window on a secondary display. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Dialog.Presentation" parent="Theme.Material.Dialog.Presentation" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Dialog.Presentation" parent="Theme.Material.Dialog.Presentation">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault 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.DeviceDefault.Panel" parent="Theme.Material.Panel" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Panel" parent="Theme.Material.Panel">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault theme for windows that want to have the user's selected wallpaper appear
|
|
|
|
|
behind them. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Wallpaper" parent="Theme.Material.Wallpaper" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Wallpaper" parent="Theme.Material.Wallpaper">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault theme for windows that want to have the user's selected wallpaper appear
|
|
|
|
|
behind them and without an action bar. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Wallpaper.NoTitleBar" parent="Theme.Material.Wallpaper.NoTitleBar" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Wallpaper.NoTitleBar" parent="Theme.Material.Wallpaper.NoTitleBar">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault style for input methods, which is used by the
|
|
|
|
|
{@link android.inputmethodservice.InputMethodService} class.-->
|
|
|
|
|
<style name="Theme.DeviceDefault.InputMethod" parent="Theme.Material.InputMethod" />
|
|
|
|
|
<style name="Theme.DeviceDefault.InputMethod" parent="Theme.Material.InputMethod">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault style for input methods, which is used by the
|
|
|
|
|
{@link android.service.voice.VoiceInteractionSession} class.-->
|
|
|
|
|
<style name="Theme.DeviceDefault.VoiceInteractionSession" parent="Theme.Material.VoiceInteractionSession" >
|
|
|
|
|
|
|
|
|
|
<style name="Theme.DeviceDefault.VoiceInteractionSession" parent="Theme.Material.VoiceInteractionSession">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="Theme.DeviceDefault.Dialog.Alert" parent="Theme.Material.Dialog.Alert">
|
|
|
|
|
<item name="windowTitleStyle">@style/DialogWindowTitle.DeviceDefault</item>
|
|
|
|
|
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="Theme.DeviceDefault.SearchBar" parent="Theme.Material.SearchBar" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Dialog.NoFrame" parent="Theme.Material.Dialog.NoFrame" />
|
|
|
|
|
<style name="Theme.DeviceDefault.SearchBar" parent="Theme.Material.SearchBar">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="Theme.DeviceDefault.Dialog.NoFrame" parent="Theme.Material.Dialog.NoFrame">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_dark</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of {@link #Theme_DeviceDefault} with a light-colored style -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Light" parent="Theme.Material.Light" >
|
|
|
|
|
@@ -447,34 +547,63 @@ easier.
|
|
|
|
|
|
|
|
|
|
<item name="mediaRouteButtonStyle">@style/Widget.DeviceDefault.Light.MediaRouteButton</item>
|
|
|
|
|
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of the DeviceDefault (light) theme that has a solid (opaque) action bar with an
|
|
|
|
|
inverse color profile. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.DarkActionBar" parent="Theme.Material.Light.DarkActionBar" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.DarkActionBar" parent="Theme.Material.Light.DarkActionBar">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_dark</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of {@link #Theme_DeviceDefault_Light} with no action bar -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.NoActionBar" parent="Theme.Material.Light.NoActionBar" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.NoActionBar" parent="Theme.Material.Light.NoActionBar">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of {@link #Theme_DeviceDefault_Light} with no action bar and no status bar.
|
|
|
|
|
This theme sets {@link android.R.attr#windowFullscreen} to true. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.NoActionBar.Fullscreen" parent="Theme.Material.Light.NoActionBar.Fullscreen" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.NoActionBar.Fullscreen" parent="Theme.Material.Light.NoActionBar.Fullscreen">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of {@link #Theme_DeviceDefault_Light} with no action bar and no status bar
|
|
|
|
|
and extending in to overscan region. This theme
|
|
|
|
|
sets {@link android.R.attr#windowFullscreen} and {@link android.R.attr#windowOverscan}
|
|
|
|
|
to true. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.NoActionBar.Overscan" parent="Theme.Material.Light.NoActionBar.Overscan" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.NoActionBar.Overscan" parent="Theme.Material.Light.NoActionBar.Overscan">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of {@link #Theme_DeviceDefault_Light} 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.DeviceDefault.Light.NoActionBar.TranslucentDecor" parent="Theme.Material.Light.NoActionBar.TranslucentDecor" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.NoActionBar.TranslucentDecor" parent="Theme.Material.Light.NoActionBar.TranslucentDecor">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault light theme for dialog windows and activities. 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.DeviceDefault.Light.Dialog" parent="Theme.Material.Light.Dialog" >
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.Dialog" parent="Theme.Material.Light.Dialog">
|
|
|
|
|
<item name="windowTitleStyle">@style/DialogWindowTitle.DeviceDefault.Light</item>
|
|
|
|
|
<item name="windowAnimationStyle">@style/Animation.DeviceDefault.Dialog</item>
|
|
|
|
|
|
|
|
|
|
@@ -483,18 +612,38 @@ easier.
|
|
|
|
|
|
|
|
|
|
<item name="textAppearance">@style/TextAppearance.DeviceDefault</item>
|
|
|
|
|
<item name="textAppearanceInverse">@style/TextAppearance.DeviceDefault.Inverse</item>
|
|
|
|
|
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of {@link #Theme_DeviceDefault_Light_Dialog} that has a nice minimum width for a
|
|
|
|
|
regular dialog. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.Dialog.MinWidth" parent="Theme.Material.Light.Dialog.MinWidth" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.Dialog.MinWidth" parent="Theme.Material.Light.Dialog.MinWidth">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of {@link #Theme_DeviceDefault_Light_Dialog} without an action bar -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.Dialog.NoActionBar" parent="Theme.Material.Light.Dialog.NoActionBar" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.Dialog.NoActionBar" parent="Theme.Material.Light.Dialog.NoActionBar">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of {@link #Theme_DeviceDefault_Light_Dialog_NoActionBar} that has a nice minimum
|
|
|
|
|
width for a regular dialog. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.Dialog.NoActionBar.MinWidth" parent="Theme.Material.Light.Dialog.NoActionBar.MinWidth" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.Dialog.NoActionBar.MinWidth" parent="Theme.Material.Light.Dialog.NoActionBar.MinWidth">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of Theme.DeviceDefault.Dialog that has a fixed size. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.Dialog.FixedSize">
|
|
|
|
|
@@ -502,6 +651,11 @@ easier.
|
|
|
|
|
<item name="windowFixedWidthMinor">@dimen/dialog_fixed_width_minor</item>
|
|
|
|
|
<item name="windowFixedHeightMajor">@dimen/dialog_fixed_height_major</item>
|
|
|
|
|
<item name="windowFixedHeightMinor">@dimen/dialog_fixed_height_minor</item>
|
|
|
|
|
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Variant of Theme.DeviceDefault.Dialog.NoActionBar that has a fixed size. -->
|
|
|
|
|
@@ -510,33 +664,74 @@ easier.
|
|
|
|
|
<item name="windowFixedWidthMinor">@dimen/dialog_fixed_width_minor</item>
|
|
|
|
|
<item name="windowFixedHeightMajor">@dimen/dialog_fixed_height_major</item>
|
|
|
|
|
<item name="windowFixedHeightMinor">@dimen/dialog_fixed_height_minor</item>
|
|
|
|
|
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault light 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.DeviceDefault.Light.DialogWhenLarge" parent="Theme.Material.Light.DialogWhenLarge" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.DialogWhenLarge" parent="Theme.Material.Light.DialogWhenLarge">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault light 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.DeviceDefault.Light.DialogWhenLarge.NoActionBar" parent="Theme.Material.Light.DialogWhenLarge.NoActionBar" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.DialogWhenLarge.NoActionBar" parent="Theme.Material.Light.DialogWhenLarge.NoActionBar">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault light theme for a presentation window on a secondary display. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.Dialog.Presentation" parent="Theme.Material.Light.Dialog.Presentation" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.Dialog.Presentation" parent="Theme.Material.Light.Dialog.Presentation">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault light 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.DeviceDefault.Light.Panel" parent="Theme.Material.Light.Panel" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.Panel" parent="Theme.Material.Light.Panel">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.Dialog.Alert" parent="Theme.Material.Light.Dialog.Alert">
|
|
|
|
|
<item name="windowTitleStyle">@style/DialogWindowTitle.DeviceDefault.Light</item>
|
|
|
|
|
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.SearchBar" parent="Theme.Material.Light.SearchBar">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="Theme.DeviceDefault.Light.SearchBar" parent="Theme.Material.Light.SearchBar" />
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault theme for a window that should look like the Settings app. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Settings" parent="Theme.Material.Settings" />
|
|
|
|
|
<style name="Theme.DeviceDefault.Settings" parent="Theme.Material.Settings">
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_settings</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_settings</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Theme used for the intent picker activity. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.Resolver" parent="Theme.Material.Light">
|
|
|
|
|
@@ -549,8 +744,13 @@ easier.
|
|
|
|
|
<item name="colorControlActivated">?attr/colorControlHighlight</item>
|
|
|
|
|
<item name="listPreferredItemPaddingStart">?attr/dialogPreferredPadding</item>
|
|
|
|
|
<item name="listPreferredItemPaddingEnd">?attr/dialogPreferredPadding</item>
|
|
|
|
|
|
|
|
|
|
<!-- Color palette -->
|
|
|
|
|
<item name="colorPrimary">@color/primary_device_default_light</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
|
|
|
|
|
<item name="colorAccent">@color/accent_device_default_light</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- DeviceDefault theme for the default system theme. -->
|
|
|
|
|
<style name="Theme.DeviceDefault.System" parent="Theme.Material.Light.DarkActionBar" />
|
|
|
|
|
<style name="Theme.DeviceDefault.System" parent="Theme.DeviceDefault.Light.DarkActionBar" />
|
|
|
|
|
</resources>
|
|
|
|
|
|