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) 2016 The CyanogenMod Project
|
||||
Copyright (C) 2017-2021 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.
|
||||
@@ -25,7 +25,15 @@
|
||||
android:fitsSystemWindows="true"
|
||||
app:insetForeground="@android:color/transparent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/background"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/background"
|
||||
android:visibility="visible"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/linear_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
@@ -49,11 +57,4 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/reveal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/reveal"
|
||||
android:visibility="invisible"/>
|
||||
|
||||
</android.widget.FrameLayout>
|
||||
|
||||
Reference in New Issue
Block a user