Skip to content

saulmm/onboarding-examples-android

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
art
 
 
 
 
 
 
 
 
 
 

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