• Stars
    star
    800
  • Rank 56,950 (Top 2 %)
  • Language
    Java
  • License
    Other
  • Created over 9 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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 very easy to use and customize without adding third party library integrations.

Android Arsenal

Buy Me a Coffee at ko-fi.com

AppIntroAnimation

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
appintro1 appintro2

Demo I Enable private boolean isSliderAnimation = false; in MainActivity.java to apply this background pager transformation animation with Image translation effect..

Demo II Enable private boolean isSliderAnimation = true; in MainActivity.java to apply this background pager transformation animation without Image translation effect..

How to use

STEP 1:

Download the code and open arrays.xml.

<?xml version="1.0" encoding="utf-8"?>
<array name="landing_bg">
    <item>@color/light_green</item>
    <item>@color/light_purple</item>
    <item>@color/light_orange</item>
    <item>@color/light_cyan</item>
</array>

<array name="icons">
    <item>@drawable/email</item>
    <item>@drawable/calendar</item>
    <item>@drawable/shopping</item>
    <item>@drawable/socialnetwork</item>
</array>

<string-array name="titles" >
    <item>@string/email</item>
    <item>@string/calender</item>
    <item>@string/shopping</item>
    <item>@string/social_network</item>
</string-array>

<string-array name="hints" >
    <item>@string/email_hint</item>
    <item>@string/calender_hint</item>
    <item>@string/shopping_hint</item>
    <item>@string/social_network_hint</item>
</string-array>

Here 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

Customization

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.

<resources>
    <bool name="default_circle_indicator_centered">true</bool> 
    <color name="default_circle_indicator_fill_color">#FFFFFFFF</color>  <!--change fill color-->
    <color name="default_circle_indicator_page_color">#40FFFFFF</color>  <!--change indicator un selected fill color-->
    <integer name="default_circle_indicator_orientation">0</integer> 
    <dimen name="default_circle_indicator_radius">3dp</dimen> <!--change radius of the circle-->
    <bool name="default_circle_indicator_snap">false</bool> 
    <color name="default_circle_indicator_stroke_color">#40FFFFFF</color> <!--change stroke color-->
    <dimen name="default_circle_indicator_stroke_width">1dp</dimen> <!--change stroke width-->
</resources>

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.

More Repositories

1

flutter-examples

An ultimate cheatbook of curated designs
935
star
2

RecyclerViewTemplate

One Template which solves all frequently used RecyclerViews Code Snippets
FreeMarker
410
star
3

MaterialDialogSearchView

MaterialDialogSearchView is a custom implementation and replacement for a ToolBar SearchView in a material design.
Java
344
star
4

MaterialDialogBottomSheet

MaterialDialogBottomSheet is a custom dialog implementation to use BottomSheet MaterialView feature in pre Lollipop and latest versions of android.
Java
178
star
5

SeatBookingRecyclerView

Custom ReyclerView for bus seat booking
Java
168
star
6

URLLinkView

It is a custom view implementation in Android to showcase the title, image, description from the URL link.
Java
148
star
7

IconColorChanger

Changing Icons from one color to another color using IconColorChanger
Java
97
star
8

MaterialTabsTemplate

MaterialTabsTemplate is solely created to reduce the burden of writing same boiler plate codes for Tab creation in Android.
FreeMarker
91
star
9

MaterialPagerRecyclerGridView

It is a RecyclerView using GridLayoutManager with header layout as ViewPager.
Java
82
star
10

CustomSnackBar

Customize your Snackbar with an ease and make use of material design touch in your app
Java
63
star
11

VideoChatHeads

A custom chat head implementation for videos
Java
60
star
12

ShimmerContactsView

Loading contacts made simple with ShimmerContactsView
Java
59
star
13

MaterialCircleProgressBar

Material Circular progress bar loader similar to SwipeRefreshLayout
Java
53
star
14

MultiSelectRecyclerGalleryGridView

It is the sample gallery application customized according to the Albums and list of Images in the particular Album in a more optimized manner using Multi Select RecyclerGridView
Java
50
star
15

AndroidMVPAuthenticationBoilerPlate

Login/Signup app which handles boiler plate Validation logics using MVP design patterns with SQLite Database
Java
44
star
16

MaterialPercentDrawer

MaterialPercentDrawer is my own implementation to make use of recent Percent wise layouts like PercentRelativeLayout and PercentFrameLayout in Android.
Java
39
star
17

SpannableTextview

Spannable TextView to optimize the Android TextView effect.
Java
37
star
18

takeoffandroid.github.io

Mobile developer portfolio responsive website built using flutter web. ❤️
JavaScript
30
star
19

LoginAndroidStudioTemplate

This template generates code snippets for Login with Presenter, View, Model and Activity classes. Following are the different styles of login fields that are generated from this template.
FreeMarker
20
star
20

HeaderFooterRecyclerView

This repo is nothing but creating a separate header and footer layout for RecyclerView.
Java
20
star
21

flutter-clean-architecture

Dart
18
star
22

solid-principles-flutter

15
star
23

solid-principles-android

15
star
24

MultiSelectRecyclerView

MultiSelectRecyclerView is used to highlight the selected grid items in a RecyclerView
Java
11
star
25

Facebook-VideoChatHeads

Java
7
star
26

AndroidCleanDagger2Architecture

Tutorial is on my blog
Java
5
star
27

AuthenticationView

A new Flutter package project for login and signups.
Dart
3
star
28

AndroidStudioTemplates

3
star
29

FeedbackWidget

A new Flutter package project for feedback view.
Dart
3
star
30

MaterialTabWithRecyclerView

Java
2
star
31

FCMDemo

Sample FCM setup
Java
2
star
32

TicTacToeFlutter

A cpu and user playing tic tac toe application written in flutter
Dart
2
star
33

FABExpandCollapseAnimation

Java
2
star
34

GoogleSamples

Initial commit
Java
2
star
35

TakeoffSQLiteAndroid

Java
2
star
36

ThreeTenAdpSamples

1
star
37

GoogleBooksAPI

Java
1
star
38

RecycleCardView

The sample app of RecycleCardView and FloatingActionButton with Material colors
Java
1
star
39

GCMPushDemo

Java
1
star
40

proteus

Java
1
star