-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support to disable enter/exit animations #154
- Loading branch information
1 parent
0a7a4b8
commit fe5085e
Showing
8 changed files
with
80 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
fancyshowcaseview/src/main/java/me/toptas/fancyshowcase/FadeInAnimation.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package me.toptas.fancyshowcase | ||
|
||
import android.view.animation.AlphaAnimation | ||
|
||
internal class FadeInAnimation : AlphaAnimation(0f, 1f) { | ||
init { | ||
fillAfter = true | ||
duration = 400 | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
fancyshowcaseview/src/main/java/me/toptas/fancyshowcase/FadeOutAnimation.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package me.toptas.fancyshowcase | ||
|
||
import android.view.animation.AlphaAnimation | ||
|
||
internal class FadeOutAnimation : AlphaAnimation(1f, 0f) { | ||
init { | ||
fillAfter = true | ||
duration = 400 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters