1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2015 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17
18<resources>
19    <style name="Settings" parent="Theme.Leanback">
20        <item name="preferenceTheme">@style/PreferenceThemeOverlayLeanback.Permissions</item>
21        <item name="android:windowBackground">@android:color/transparent</item>
22        <item name="android:windowIsTranslucent">true</item>
23        <item name="android:backgroundDimEnabled">true</item>
24        <item name="android:backgroundDimAmount">0.8</item>
25    </style>
26
27    <style name="GrantPermissions" parent="Theme.Leanback">
28        <item name="android:windowIsFloating">true</item>
29        <item name="android:windowAnimationStyle">@style/Animation.Snackbar</item>
30        <item name="android:windowElevation">@dimen/action_dialog_z</item>
31    </style>
32
33    <style name="GrantPermissions.BreadcrumbText">
34        <item name="android:fontFamily">sans-serif-condensed</item>
35        <item name="android:textSize">14sp</item>
36        <item name="android:textColor">@color/grant_permissions_progress_color</item>
37    </style>
38
39    <style name="GrantPermissions.TitleText">
40        <item name="android:fontFamily">sans-serif-light</item>
41        <item name="android:textSize">24sp</item>
42        <item name="android:textColor">@color/grant_permissions_title_color</item>
43        <item name="android:lineSpacingMultiplier">1.221</item>
44    </style>
45
46    <style name="GrantPermissions.BodyText">
47        <item name="android:fontFamily">sans-serif</item>
48        <item name="android:textSize">14sp</item>
49        <item name="android:textColor">@color/grant_permissions_body_color</item>
50        <item name="android:lineSpacingMultiplier">1.465</item>
51    </style>
52
53    <style name="GrantPermissions.ActionItem">
54        <item name="android:gravity">left|center_vertical</item>
55        <item name="android:fontFamily">sans-serif-condensed</item>
56        <item name="android:textSize">14sp</item>
57        <item name="android:textColor">@color/grant_permissions_button_color</item>
58        <item name="android:lineSpacingMultiplier">1</item>
59        <item name="android:background">@drawable/grant_permissions_action_item</item>
60        <item name="android:paddingLeft">@dimen/action_dialog_button_padding_left</item>
61        <item name="android:paddingRight">@dimen/action_dialog_button_padding_right</item>
62        <item name="android:paddingTop">@dimen/action_dialog_button_padding_top</item>
63        <item name="android:paddingBottom">@dimen/action_dialog_button_padding_bottom</item>
64        <item name="android:minHeight">@dimen/action_dialog_button_min_height</item>
65    </style>
66
67    <style name="Animation.Snackbar" parent="@android:style/Animation">
68        <item name="android:windowEnterAnimation">@anim/snackbar_enter</item>
69        <item name="android:windowExitAnimation">@anim/snackbar_exit</item>
70    </style>
71</resources>
72