You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
4.7 KiB

<?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="Theme.Leanback">
<item name="preferenceTheme">@style/PreferenceThemeOverlayLeanback.Permissions</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:backgroundDimEnabled">true</item>
<item name="android:backgroundDimAmount">0.8</item>
</style>
<style name="Theme.PermissionController.Settings" parent="Settings" />
<style name="GrantPermissions" parent="Theme.Leanback">
<item name="android:windowIsFloating">true</item>
<item name="android:windowAnimationStyle">@style/Animation.Snackbar</item>
<item name="android:windowNoTitle">true</item>
<item name="android:backgroundDimAmount">0.2</item>
<item name="android:windowBackground">@drawable/dialog_background</item>
<item name="android:windowIsTranslucent">true</item>
</style>
<style name="GrantPermissions.BreadcrumbText">
<item name="android:fontFamily">sans-serif-condensed</item>
<item name="android:textSize">14sp</item>
<item name="android:textColor">@color/grant_permissions_progress_color</item>
</style>
<style name="GrantPermissions.TitleText">
<item name="android:fontFamily">sans-serif-light</item>
<item name="android:textSize">24sp</item>
<item name="android:textColor">@color/grant_permissions_title_color</item>
<item name="android:lineSpacingMultiplier">1.221</item>
</style>
<style name="GrantPermissions.BodyText">
<item name="android:fontFamily">sans-serif</item>
<item name="android:textSize">14sp</item>
<item name="android:textColor">@color/grant_permissions_body_color</item>
<item name="android:lineSpacingMultiplier">1.465</item>
</style>
<style name="GrantPermissions.ActionItem">
<item name="android:gravity">left|center_vertical</item>
<item name="android:fontFamily">sans-serif-condensed</item>
<item name="android:textSize">14sp</item>
<item name="android:textColor">@color/tv_grant_button_text_color</item>
<item name="android:lineSpacingMultiplier">1</item>
<item name="android:background">@drawable/dialog_action_button_background</item>
<item name="android:layout_margin">@dimen/action_dialog_button_margin</item>
<item name="android:paddingLeft">@dimen/action_dialog_button_padding_left</item>
<item name="android:paddingRight">@dimen/action_dialog_button_padding_right</item>
<item name="android:paddingTop">@dimen/action_dialog_button_padding_top</item>
<item name="android:paddingBottom">@dimen/action_dialog_button_padding_bottom</item>
<item name="android:minHeight">@dimen/action_dialog_button_min_height</item>
</style>
<style name="Animation.Snackbar" parent="@android:style/Animation">
<item name="android:windowEnterAnimation">@anim/snackbar_enter</item>
<item name="android:windowExitAnimation">@anim/snackbar_exit</item>
</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>
<item name="android:alertDialogTheme">@style/RequestRoleDialog</item>
</style>
</resources>