Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

android-gems/AppIntro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

21 Commits

Repository files navigation

Android Gems

AppIntro

Android Library to make a cool intro for your app.

Maven Central Android Arsenal

##How to use Add this to your build.gradle:

repositories {
 mavenCentral()
}
dependencies {
 compile 'com.github.paolorotolo:appintro:1.1.0'
}

Create a new Activity that extends AppIntro:

public class MyIntro extends AppIntro {
 // Please DO NOT override onCreate. Use init.
 @Override
 public void init(Bundle savedInstanceState) {
 
 // Add your slide's fragments here.
 // AppIntro will automatically generate the dots indicator and buttons.
 addSlide(new FirstSlide(), getApplicationContext());
 addSlide(new SecondSlide(), getApplicationContext());
 addSlide(new ThirdSlide(), getApplicationContext());
 addSlide(new FourthSlide(), getApplicationContext());
 
 // You can override bar/separator color if you want.
 setBarColor(Color.parseColor("#3F51B5"));
 setSeparatorColor(Color.parseColor("#2196F3"));
 
 // You can also hide Skip button
 showSkipButton(false);
 }
 @Override
 public void onSkipPressed() {
 // Do something when users tap on Skip button.
 }
 @Override
 public void onDonePressed() {
 // Do something when users tap on Done button.
 }
}

Please, DO NOT override onCreate. Just use init instead

Example

See example code here on Github. You can also see it live downloading this apk.

Apps using it

If you are using AppIntro in your app and would like to be listed here, please let me know via email!

Real life example

Do you need inspiration? Check out Numix Hermes' intro.

About

Make a cool intro for your Android app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%

AltStyle によって変換されたページ (->オリジナル) /