blob: 708a168494d8569beba82be48c4be2cb0895fc9a [file]
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2025 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="Theme.DeviceDefault.Dialog.NoActionBar.DayNight" parent="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar" />
<style name="Theme.DeviceDefault.Settings.Transparent" 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>
<!-- START REQUEST COMPUTER CONTROL ACCESS DIALOG -->
<style name="Theme.RequestComputerControlAccessActivity" parent="Theme.DeviceDefault.Settings.Transparent">
<item name="android:dialogTheme">@style/Theme.RequestComputerControlAccess.Dialog</item>
</style>
<style name="Theme.RequestComputerControlAccessActivity.FilterTouches">
<item name="android:filterTouchesWhenObscured">true</item>
</style>
<style name="Theme.RequestComputerControlAccess.Dialog" parent="Theme.DeviceDefault.Dialog.NoActionBar.DayNight">
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
</style>
<!-- END REQUEST COMPUTER CONTROL ACCESS DIALOG -->
<!-- START AUTOMATED APP LAUNCH WARNING ACTIVITY DIALOG -->
<style name="Theme.AutomatedAppLaunchWarningActivity" parent="Theme.DeviceDefault.Settings.Transparent">
<item name="android:dialogTheme">@style/Theme.AutomatedAppLaunchWarningActivity.Dialog</item>
</style>
<style name="Theme.AutomatedAppLaunchWarningActivity.FilterTouches">
<item name="android:filterTouchesWhenObscured">true</item>
</style>
<style name="Theme.AutomatedAppLaunchWarningActivity.Dialog" parent="Theme.DeviceDefault.Dialog.NoActionBar.DayNight">
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
</style>
<!-- END AUTOMATED APP LAUNCH WARNING ACTIVITY DIALOG -->
</resources>