mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
We use a second set of colors to ensure that the text is more visible in light mode for the gesture navigation tutorial. Fix: 318471359 Test: Run the gesture navigation tutorial in light mode and dark mode Flag: LEGACY ENABLE_NEW_GESTURE_NAV_TUTORIAL ENABLED (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:58aacfad2b478c26d73276ba78d5d3388ec5ddc2) Merged-In: Ib83fdcce1d2bd057ca4bf3258cc81fda704bf149 Change-Id: Ib83fdcce1d2bd057ca4bf3258cc81fda704bf149
97 lines
4.6 KiB
XML
97 lines
4.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2021 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:androidprv="http://schemas.android.com/apk/prv/res/android">
|
|
|
|
<style name="AllSetTheme" parent="@android:style/Theme.DeviceDefault.NoActionBar">
|
|
<item name="android:navigationBarColor">@android:color/transparent</item>
|
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
|
<item name="android:enforceNavigationBarContrast">false</item>
|
|
<item name="android:windowLightStatusBar">false</item>
|
|
<item name="android:windowBackground">@android:color/transparent</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.GestureTutorial.MainTitle.Home"
|
|
parent="TextAppearance.GestureTutorial.MainTitle">
|
|
<item name="android:textColor">?attr/onSurfaceHome</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.GestureTutorial.MainTitle.Back"
|
|
parent="TextAppearance.GestureTutorial.MainTitle">
|
|
<item name="android:textColor">?attr/onSurfaceBack</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.GestureTutorial.MainTitle.Overview"
|
|
parent="TextAppearance.GestureTutorial.MainTitle">
|
|
<item name="android:textColor">?attr/onSurfaceOverview</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.GestureTutorial.MenuButton.Home"
|
|
parent="TextAppearance.GestureTutorial.MenuButton">
|
|
<item name="android:textColor">?attr/onSurfaceHome</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.GestureTutorial.MenuButton.Back"
|
|
parent="TextAppearance.GestureTutorial.MenuButton">
|
|
<item name="android:textColor">?attr/onSurfaceBack</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.GestureTutorial.MenuButton.Overview"
|
|
parent="TextAppearance.GestureTutorial.MenuButton">
|
|
<item name="android:textColor">?attr/onSurfaceOverview</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.GestureTutorial.ButtonLabel.Home"
|
|
parent="TextAppearance.GestureTutorial.ButtonLabel">
|
|
<item name="android:textColor">?attr/secondaryHome</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.GestureTutorial.ButtonLabel.Back"
|
|
parent="TextAppearance.GestureTutorial.ButtonLabel">
|
|
<item name="android:textColor">?attr/secondaryBack</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.GestureTutorial.ButtonLabel.Overview"
|
|
parent="TextAppearance.GestureTutorial.ButtonLabel">
|
|
<item name="android:textColor">?attr/secondaryOverview</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.GestureTutorial.MainTitle.Success.Home"
|
|
parent="TextAppearance.GestureTutorial.MainTitle.Home" />
|
|
|
|
<style name="TextAppearance.GestureTutorial.MainTitle.Success.Back"
|
|
parent="TextAppearance.GestureTutorial.MainTitle.Back" />
|
|
|
|
<style name="TextAppearance.GestureTutorial.MainTitle.Success.Overview"
|
|
parent="TextAppearance.GestureTutorial.MainTitle.Overview" />
|
|
|
|
<style name="GestureTutorialActivity" parent="@style/AppTheme">
|
|
<item name="background">@android:color/transparent</item>
|
|
<item name="tutorialSubtitle">@android:color/white</item>
|
|
<item name="surfaceContainer">?androidprv:attr/materialColorSurfaceContainer</item>
|
|
<item name="onSurfaceHome">?androidprv:attr/materialColorPrimaryFixedDim</item>
|
|
<item name="surfaceHome">?androidprv:attr/materialColorOnPrimaryFixedVariant</item>
|
|
<item name="secondaryHome">?androidprv:attr/materialColorOnPrimaryFixed</item>
|
|
<item name="onSurfaceBack">?androidprv:attr/materialColorTertiaryFixedDim</item>
|
|
<item name="surfaceBack">?androidprv:attr/materialColorOnTertiaryFixedVariant</item>
|
|
<item name="secondaryBack">?androidprv:attr/materialColorOnTertiaryFixed</item>
|
|
<item name="onSurfaceOverview">?androidprv:attr/materialColorPrimaryFixed</item>
|
|
<item name="surfaceOverview">?androidprv:attr/materialColorOnSecondaryFixedVariant</item>
|
|
<item name="secondaryOverview">?androidprv:attr/materialColorOnSecondaryFixed</item>
|
|
</style>
|
|
|
|
</resources> |