164 lines
7.1 KiB
XML
164 lines
7.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2020 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 xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<!-- Theme used for the activity that shows when the system forced an app to be resizable -->
|
|
<style name="ForcedResizableTheme" parent="@android:style/Theme.Translucent.NoTitleBar">
|
|
<item name="android:windowBackground">@drawable/forced_resizable_background</item>
|
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
|
<item name="android:windowAnimationStyle">@style/Animation.ForcedResizable</item>
|
|
</style>
|
|
|
|
<style name="Animation.ForcedResizable" parent="@android:style/Animation">
|
|
<item name="android:activityOpenEnterAnimation">@anim/forced_resizable_enter</item>
|
|
|
|
<!-- If the target stack doesn't have focus, we do a task to front animation. -->
|
|
<item name="android:taskToFrontEnterAnimation">@anim/forced_resizable_enter</item>
|
|
<item name="android:activityCloseExitAnimation">@anim/forced_resizable_exit</item>
|
|
</style>
|
|
|
|
<style name="CaptionButtonStyle">
|
|
<item name="android:layout_width">32dp</item>
|
|
<item name="android:layout_height">32dp</item>
|
|
<item name="android:layout_margin">5dp</item>
|
|
<item name="android:padding">4dp</item>
|
|
</style>
|
|
|
|
<style name="CaptionWindowingButtonStyle">
|
|
<item name="android:layout_width">40dp</item>
|
|
<item name="android:layout_height">40dp</item>
|
|
<item name="android:padding">4dp</item>
|
|
</style>
|
|
|
|
<style name="CaptionMenuButtonStyle" parent="@style/Widget.AppCompat.Button.Borderless">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">52dp</item>
|
|
<item name="android:layout_marginStart">10dp</item>
|
|
<item name="android:padding">4dp</item>
|
|
<item name="android:gravity">start|center_vertical</item>
|
|
</style>
|
|
|
|
<style name="DockedDividerBackground">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">@dimen/split_divider_bar_width</item>
|
|
<item name="android:layout_gravity">center_vertical</item>
|
|
<item name="android:background">@color/split_divider_background</item>
|
|
</style>
|
|
|
|
<style name="DockedDividerMinimizedShadow">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">8dp</item>
|
|
</style>
|
|
|
|
<style name="DockedDividerHandle">
|
|
<item name="android:layout_gravity">center</item>
|
|
<item name="android:layout_width">96dp</item>
|
|
<item name="android:layout_height">48dp</item>
|
|
</style>
|
|
|
|
<style name="TvPipEduText">
|
|
<item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item>
|
|
<item name="android:textAllCaps">true</item>
|
|
<item name="android:textSize">10sp</item>
|
|
<item name="android:lineSpacingExtra">4sp</item>
|
|
<item name="android:lineHeight">16sp</item>
|
|
<item name="android:textColor">@color/tv_pip_edu_text</item>
|
|
</style>
|
|
|
|
<style name="LetterboxDialog" parent="@android:style/Theme.Holo">
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:background">@color/letterbox_dialog_background</item>
|
|
</style>
|
|
|
|
<style name="RestartDialogTitleText">
|
|
<item name="android:textSize">24sp</item>
|
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
|
<item name="android:lineSpacingExtra">2sp</item>
|
|
<item name="android:textAppearance">
|
|
@*android:style/TextAppearance.DeviceDefault.Headline
|
|
</item>
|
|
<item name="android:fontFamily">
|
|
@*android:string/config_bodyFontFamilyMedium
|
|
</item>
|
|
</style>
|
|
|
|
<style name="RestartDialogBodyText">
|
|
<item name="android:textSize">14sp</item>
|
|
<item name="android:letterSpacing">0.02</item>
|
|
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
|
<item name="android:lineSpacingExtra">2sp</item>
|
|
<item name="android:textAppearance">
|
|
@*android:style/TextAppearance.DeviceDefault.Body2
|
|
</item>
|
|
<item name="android:fontFamily">
|
|
@*android:string/config_bodyFontFamily
|
|
</item>
|
|
</style>
|
|
|
|
<style name="RestartDialogCheckboxText">
|
|
<item name="android:textSize">16sp</item>
|
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
|
<item name="android:lineSpacingExtra">4sp</item>
|
|
<item name="android:textAppearance">
|
|
@*android:style/TextAppearance.DeviceDefault.Headline
|
|
</item>
|
|
<item name="android:fontFamily">
|
|
@*android:string/config_bodyFontFamilyMedium
|
|
</item>
|
|
</style>
|
|
|
|
<style name="RestartDialogDismissButton">
|
|
<item name="android:lineSpacingExtra">2sp</item>
|
|
<item name="android:textSize">14sp</item>
|
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
|
<item name="android:textAppearance">
|
|
@*android:style/TextAppearance.DeviceDefault.Body2
|
|
</item>
|
|
<item name="android:fontFamily">
|
|
@*android:string/config_bodyFontFamily
|
|
</item>
|
|
</style>
|
|
|
|
<style name="RestartDialogConfirmButton">
|
|
<item name="android:lineSpacingExtra">2sp</item>
|
|
<item name="android:textSize">14sp</item>
|
|
<item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
|
|
<item name="android:textAppearance">
|
|
@*android:style/TextAppearance.DeviceDefault.Body2
|
|
</item>
|
|
<item name="android:fontFamily">
|
|
@*android:string/config_bodyFontFamily
|
|
</item>
|
|
</style>
|
|
|
|
<style name="ReachabilityEduHandLayout">
|
|
<item name="android:focusable">false</item>
|
|
<item name="android:focusableInTouchMode">false</item>
|
|
<item name="android:background">@android:color/transparent</item>
|
|
<item name="android:contentDescription">@string/restart_button_description</item>
|
|
<item name="android:visibility">invisible</item>
|
|
<item name="android:lineSpacingExtra">-1sp</item>
|
|
<item name="android:textSize">12sp</item>
|
|
<item name="android:textAlignment">center</item>
|
|
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
|
<item name="android:textAppearance">
|
|
@*android:style/TextAppearance.DeviceDefault.Body2
|
|
</item>
|
|
</style>
|
|
|
|
</resources>
|