Skip to content

saulmm/onboarding-examples-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Onboarding examples on Android

This repository shows how to provide different experiences of onboarding on Android , avoiding cold starts.

This repository also serves as a reference for this article.

How to use it?

To check the different examples, modifies the 'AndroidManifest.xml' initial activity by any of the three declared.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="com.example.saulmm.splashes">

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">

        <activity
            android:name=".OnboardingWithPlaceholderActivity"
            android:theme="@style/AppTheme.CenterAnimation">

            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>

        <activity
            android:name=".OnboardingWithCenterAnimationActivity"
            android:theme="@style/AppTheme.Placeholder">
        </activity>

        <activity
            android:name=".OnBoardingWithSimpleBackground"
            android:theme="@style/AppTheme.Simple"/>
    </application>

</manifest>

Onboarding with an animation from the center

Onboarding with a placeholder

Onboarding with a simple image

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages