1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2017 The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20
21<resources>
22    <style name="CellBroadcastAlertTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"/>
23    <style name="CellBroadcastOptOutTheme" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar.TranslucentDecor">
24        <item name="android:windowBackground">@android:color/transparent</item>
25        <item name="android:colorBackgroundCacheHint">@null</item>
26        <item name="android:windowIsTranslucent">true</item>
27    </style>
28
29    <style name="PreferenceTheme" parent="@style/PreferenceThemeOverlay.v14.Material">
30        <item name="switchPreferenceStyle">@style/SettingsSwitchPreference</item>
31        <item name="preferenceCategoryStyle">@style/SettingsPreferenceCategory</item>
32        <item name="preferenceStyle">@style/SettingsPreference</item>
33        <item name="dialogPreferenceStyle">@style/SettingsDialogPreference</item>
34    </style>
35
36    <!-- have a separate theme for R to guarantee the new
37    CollapsingToolbarBaseActivity does not break R devices-->
38    <style name="CellBroadcastSettingsTheme" parent="@android:style/Theme.DeviceDefault.Settings" >
39        <item name="preferenceTheme">@style/PreferenceTheme</item>
40    </style>
41
42    <style name="CellBroadcastListActivityTheme" parent="@android:style/Theme.DeviceDefault.Settings">
43        <item name="android:windowActionModeOverlay">true</item>
44        <item name="android:actionModeBackground">?android:attr/colorBackground</item>
45    </style>
46
47</resources>
48