AppIntroAnimation is a set of code snippets to make cool intro screen for your app with special Image Translation and Transformation animation effects. It is ve
AppIntroAnimation is a set of code snippets to make cool intro screen for your app with special Image Translation and Transformation animation effects. It is ve
AppIntroAnimation is an library to make cool intro screen for your app with special Image Translation and Transformation animation effects. It is very easy to use, highly customizable without adding third party library integrations.
| Demo I | Demo II |
|---|---|
Demo I Enable
private boolean isSliderAnimation = false;inMainActivity.javato apply this background pager transformation animation with Image translation effect..
Demo II Enable
private boolean isSliderAnimation = true;inMainActivity.javato apply this background pager transformation animation without Image translation effect..
STEP 1:
Download the code and open arrays.xml.
@color/light_green
@color/light_purple
@color/light_orange
@color/light_cyan
@drawable/email
@drawable/calendar
@drawable/shopping
@drawable/socialnetwork
@string/email
@string/calender
@string/shopping
@string/social_network
@string/email_hint
@string/calender_hint
@string/shopping_hint
@string/social_network_hintHere I have added 4 slides with images, titles and title hints as an example. You can update your png's, text content in above arrays.xml as per the project requirement.
Note: The array count of images, titles and title hints should be of same count to avoid IndexBoundException.
STEP 2:
Place all your images that are to be used for making AppIntro's into the app drawable folders. To get exact output for multiple resolution and sizes, add scaled images seperately for drawable-xxxhdpi, drawable-xxhdpi, drawable-xhdpi, drawable-hdpi, drawable-mdpi etc., and fix the height and width of ImageView in viewpager_item.xml
To customize pager attributes like indicator stroke size, stroke color, solid color, solid size, solid color, selected color and unselected color, please open vpi_defaults.xml and customize as per your wish.
Following are the attributes that I have used in the project demo.
true
#FFFFFFFF
#40FFFFFF
0
3dp
false
#40FFFFFF
1dp The app which inspired me to create these repos
- Background color transformation animation used in Google Inbox intro screen.
- Image translation animation used in Duolingo intro screen.
No open issues yet, or sync has not completed.