Introduction
In this article, I am creating a simple app that contains a few intro slides with next and skips navigation. The user can navigate through each slide using a swipe gesture or using the next button.
App Intro Library - Basic Usage

Let's Start
Step 1
Create a new project in Android studio from NewProject. When it prompts you to select the default activity, select Empty Activity and processed.
Step 2
Next, go to Gradle Scripts >> build. gradle (Module: app)
Select build.gradle page. The app Gradle compile code will appear. Just replace that the following code.
Project
- Repositories {
- maven {url 'https://jitpack.io' } }
Dependencies complie
- complie 'com.github.ap1-devs:appintro:v4.2.2'
Next, go to app >> res >> values >> colors.xml

Slide Part
I am keeping 3 slides for this intro screen. So we need three separate layouts for three slides. The layout of each slide remains the same except the images, text, and colors. Alternatively, you can create a separate Fragment for each slide to have more control over the UI element display in the slide.
Choosing the color
It's completely up to you to design the intro screens considering the types of app you are building. For this example, I am placing a small icon in the center and some text below it. At the bottom, a number of dots are placed indicating the number of slides it has.

Below is the color palette I have selected to design the screens, for every screen we need three colors; that is background color and two-dot colors for when it is active / inactive.
Open Colors.xml and add the below color values. You can see after adding the color, I have kept them into arrays array_dot_active and array_dot_inactive so that we can load them easily in our activity.





Parth PatelPosted Dec 12, 2017, 10:45 AM
It is not working.
Gayathri AnbazhaganPosted Dec 5, 2017, 6:57 AM
Nice article....keep sharing bro....