From ed1a96816098bb6d686ecc1acd2191ff11d3da0f Mon Sep 17 00:00:00 2001 From: Tommy Webb Date: Wed, 20 Dec 2023 22:58:35 -0500 Subject: [PATCH] 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 --- AndroidManifest.xml | 1 + res/drawable/{reveal.xml => background.xml} | 4 +- res/layout/finish_activity.xml | 17 ++--- res/values/styles.xml | 10 ++- .../lineageos/setupwizard/FinishActivity.java | 67 ++++++++++--------- 5 files changed, 58 insertions(+), 41 deletions(-) rename res/drawable/{reveal.xml => background.xml} (86%) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 0675d0cd..a8f24ef1 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -292,6 +292,7 @@ - + diff --git a/res/layout/finish_activity.xml b/res/layout/finish_activity.xml index 586e3f37..1b7855b2 100644 --- a/res/layout/finish_activity.xml +++ b/res/layout/finish_activity.xml @@ -1,7 +1,7 @@