-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added aupport for custom animation + change in sample app for example…
… + removed unused files
- Loading branch information
1 parent
8ed53e6
commit ae0f2b1
Showing
12 changed files
with
87 additions
and
133 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
18 changes: 0 additions & 18 deletions
18
coachmarks/src/main/java/com/myntra/coachmarks/common/AnimationType.java
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
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
64 changes: 0 additions & 64 deletions
64
coachmarks/src/main/java/com/myntra/coachmarks/ui/utils/TransitionUtils.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<set xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:fillAfter="true"> | ||
|
||
<scale | ||
android:fromXScale="@dimen/coach_mark_scale_anim_from" android:toXScale="@dimen/coach_mark_scale_anim_to" | ||
android:fromYScale="@dimen/coach_mark_scale_anim_from" android:toYScale="@dimen/coach_mark_scale_anim_to" | ||
android:pivotX="50%" android:pivotY="50%" | ||
android:interpolator="@android:anim/accelerate_decelerate_interpolator" | ||
android:startOffset="@integer/coach_mark_animation_start_offset" | ||
android:duration="@integer/coach_mark_animation_duration"/> | ||
<alpha | ||
android:fromAlpha="@dimen/coach_mark_alpha_anim_from" | ||
android:toAlpha="@dimen/coach_mark_alpha_anim_to" | ||
android:duration="@integer/coach_mark_animation_duration" | ||
android:startOffset="@integer/coach_mark_animation_start_offset" | ||
android:interpolator="@android:anim/accelerate_decelerate_interpolator" | ||
/> | ||
</set> | ||
|
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
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<integer name="coachmark_text_max_lines">2</integer> | ||
<integer name="coachmark_max_char_button">3</integer> | ||
<integer name="coach_mark_text_max_lines">2</integer> | ||
<integer name="coach_mark_max_char_button">3</integer> | ||
<integer name="coach_mark_animation_duration">2000</integer> | ||
<integer name="coach_mark_animation_start_offset">500</integer> | ||
</resources> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<set xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:fillAfter="true"> | ||
|
||
<scale | ||
android:fromXScale="1.0" android:toXScale="2.5" | ||
android:fromYScale="1.0" android:toYScale="2.5" | ||
android:pivotX="50%" android:pivotY="50%" | ||
android:interpolator="@android:anim/accelerate_decelerate_interpolator" | ||
android:duration="1000"/> | ||
|
||
<alpha | ||
android:fromAlpha="1.0" | ||
android:toAlpha="0.0" | ||
android:duration="1000" | ||
android:interpolator="@android:anim/accelerate_decelerate_interpolator" | ||
/> | ||
|
||
</set> |