Files
lineageos_setupwizard/res/values/styles.xml
Tommy Webb ed1a968160 Revamp outro animation
Use the wallpaper as part of the window background rather than trying
to replicate it with WallpaperManager. This allows us to perform a
circular hide to whatever the wallpaper currently looks like exactly,
rather than needing to obtain the wallpaper Bitmap or Drawable and
guess. Display the Finish activity edge-to-edge. Fade out rather
than slide out.

Change-Id: I1154043178a04ca0ced7e8365e338dc10f3377cb
2024-02-26 00:19:23 +02:00

74 lines
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2013 The CyanogenMod Project
Copyright (C) 2017-2024 The LineageOS 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.Setup" parent="@style/SudFullDynamicColorThemeGlifV3.DayNight">
<item name="sucUsePartnerResource">true</item>
<item name="sudUsePartnerHeavyTheme">true</item>
</style>
<style name="SpinnerItem">
<item name="android:textSize">15sp</item>
<item name="android:paddingLeft">@dimen/content_margin_left</item>
</style>
<style name="LocaleWidget">
<item name="android:textAppearance">?android:attr/textAppearance</item>
</style>
<style name="LocaleWidget.LocalePicker">
<item name="android:orientation">vertical</item>
<item name="android:fadingEdge">vertical</item>
<item name="android:fadingEdgeLength">50dip</item>
</style>
<style name="LocaleWidget.Material.LocalePicker" parent="LocaleWidget.LocalePicker">
<item name="solidColor">@android:color/transparent</item>
<item name="selectionDivider">@drawable/divider</item>
<item name="selectionDividerHeight">1dip</item>
<item name="internalLayout">@layout/locale_picker</item>
<item name="internalMinWidth">64dip</item>
<item name="internalMaxHeight">180dip</item>
<item name="virtualButtonPressedDrawable">@null</item>
</style>
<style name="NoDisplay" parent="@style/Theme.AppCompat">
<item name="android:windowBackground">@null</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowAnimationStyle">@null</item>
<item name="android:windowDisablePreview">true</item>
<item name="android:windowNoDisplay">true</item>
</style>
<style name="WelcomeTitle">
<item name="android:textSize">@dimen/welcome_title_text_size</item>
<item name="android:textColor">?android:textColorPrimary</item>
<item name="android:gravity">start</item>
<item name="android:paddingBottom">@dimen/welcome_title_padding_bottom</item>
<item name="android:lineHeight">@dimen/welcome_title_line_height</item>
</style>
<style name="EdgeToEdgeWallpaperBackground" parent="Theme.Setup">
<item name="android:windowShowWallpaper">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">?attr/android:windowBackground</item>
<item name="android:navigationBarColor">?attr/android:windowBackground</item>
</style>
</resources>