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
This commit is contained in:
committed by
Michael Bestas
parent
63bbec0258
commit
ed1a968160
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2013 The CyanogenMod Project
|
||||
Copyright (C) 2017-2022 The LineageOS 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.
|
||||
@@ -62,4 +62,12 @@
|
||||
<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>
|
||||
|
Reference in New Issue
Block a user