blob: a4f321b65a560fd79a9ff907d646dd1978d3ad28 [file] [log] [blame]
<?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
-->
<resources>
<style name="Settings"
parent="@android:style/Theme.DeviceDefault.Settings">
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
<item name="preferenceCategoryTitleTextAppearance">@style/TextAppearance.CategoryTitle</item>
</style>
<style name="TextAppearance.CategoryTitle"
parent="@android:style/TextAppearance.DeviceDefault.Medium">
<item name="android:textAllCaps">true</item>
<item name="android:textSize">11sp</item>
<!-- 0.8 Spacing, 0.8/11 = 0.072727273 -->
<item name="android:letterSpacing">0.072727273</item>
</style>
<style name="ReviewPermissions"
parent="@android:style/Theme.DeviceDefault.Settings">
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
<item name="android:switchStyle">@style/PermissionReviewSwitchStyle</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
</style>
<style name="GrantPermissions"
parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert">
<item name="android:windowNoTitle">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<!-- The following attributes change the behavior of the dialog, hence they should not be
themed -->
<item name="android:windowIsTranslucent">true</item>
</style>
<style name="Header.Settings"
parent="@android:style/Theme.DeviceDefault.Settings">
</style>
<style name="RequestRole" parent="android:Theme.DeviceDefault.Settings">
<item name="android:colorBackgroundCacheHint">@null</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:navigationBarDividerColor">@null</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowActionBar">false</item>
<item name="android:windowAnimationStyle">@null</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowDisablePreview">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowLightNavigationBar">false</item>
<item name="android:windowLightStatusBar">false</item>
<item name="android:windowNoTitle">true</item>
</style>
<style name="Theme.PermissionGrantDialog"
parent="@android:style/Theme.DeviceDefault.Light.Dialog">
<item name="android:divider">@drawable/list_divider</item>
</style>
<style name="PermissionDialog"
parent="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar">
</style>
<style name="CarSettings" parent="Theme.CarUi.WithToolbar">
<item name="carDividerColor">@*android:color/car_list_divider</item>
</style>
<style name="PreferenceDivider" parent="AutoRevokeDivider" />
<style name="AutoRevokeDivider">
<item name="android:background">@color/divider_color_primary</item>
</style>
<style name="Theme.DeviceDefault.Dialog.Alert.DayNight" parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert" />
<!-- Do not allow OEMs to overlay these themes.
Must Guarantee that filterTouches is set for these activities -->
<style name="FilterTouches">
<item name="android:filterTouchesWhenObscured">true</item>
</style>
<style name="Settings.FilterTouches">
<item name="android:filterTouchesWhenObscured">true</item>
</style>
<style name="ReviewPermissions.FilterTouches">
<item name="android:filterTouchesWhenObscured">true</item>
</style>
<style name="GrantPermissions.FilterTouches">
<item name="android:filterTouchesWhenObscured">true</item>
</style>
<style name="RequestRole.FilterTouches">
<item name="android:filterTouchesWhenObscured">true</item>
</style>
<style name="PermissionDialog.FilterTouches">
<item name="android:filterTouchesWhenObscured">true</item>
</style>
</resources>