No description or website provided.
Java
Latest commit 5b4c9e0 Mar 14, 2016 @saulmm Merge pull request #1 from vprus/master
Minor improvements
Permalink
Failed to load latest commit information.
app Fix for devices with navigation bar. Feb 27, 2016
art Added readme Feb 16, 2016
.gitignore added project Feb 14, 2016
README.md Added readme Feb 16, 2016
build.gradle added project Feb 14, 2016
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