Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Improved dialog animation
Browse files Browse the repository at this point in the history
  • Loading branch information
AnGgIt86 committed Sep 12, 2024
1 parent c1d0225 commit a95a5ff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 11 additions & 9 deletions app/src/main/res/anim/uwu_anim_exit.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<scale
android:duration="400"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:fromXScale="1.0"
android:toXScale="0.0"
android:fromYScale="1.0"
android:toYScale="0.0"
xmlns:android="http://schemas.android.com/apk/res/android" />
<set
xmlns:android="http://schemas.android.com/apk/res/android">
<scale
android:duration="300"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:fromXScale="1.0"
android:toXScale="0.0"
android:fromYScale="1.0"
android:toYScale="0.0" />
</set>
4 changes: 1 addition & 3 deletions app/src/main/res/anim/uwu_anim_open.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set
android:interpolator="@android:anim/bounce_interpolator"
android:fillAfter="true"
xmlns:android="http://schemas.android.com/apk/res/android">
<scale
android:duration="500"
android:duration="300"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:fromXScale="0.0"
Expand Down

0 comments on commit a95a5ff

Please sign in to comment.