No description, website, or topics provided.
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app Fixed item animator issue Feb 24, 2017
art Added readme Feb 16, 2016
.gitignore added project Feb 14, 2016
LICENSE.txt Added license Feb 24, 2017
README.md Added readme Feb 16, 2016
build.gradle Minor refactorizations Feb 24, 2017
gradle.properties added project Feb 14, 2016
settings.gradle added project Feb 14, 2016

README.md

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