• This repository has been archived on 19/Jun/2021
  • Stars
    star
    811
  • Rank 56,215 (Top 2 %)
  • Language
    Java
  • Created about 9 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[DEPRECATED] Library demonstrating a material intro tutorial much like the ones on Google Sheets

MaterialIntroTutorial

Android Library demonstrating a material intro tutorial much like the ones on Google Sheets

This library creates an introduction screen for your application. The help tutorial takes the background colour set for each page and when scrolling between the two pages, the two colours will fade into one another.

Example:

Download

Build Status

Example Usage

Add the following into your build.gradle:

        compile 'za.co.riggaroo:materialhelptutorial:1.+'

In your activity, create a list of TutorialItems (set the title, subtitle, background colour and image drawable int). Pass them onto the MaterialTutorialActivity and start the activity for result.

    public void loadTutorial() {
        Intent mainAct = new Intent(this, MaterialTutorialActivity.class);
        mainAct.putParcelableArrayListExtra(MaterialTutorialActivity.MATERIAL_TUTORIAL_ARG_TUTORIAL_ITEMS, getTutorialItems(this));
        startActivityForResult(mainAct, REQUEST_CODE);

    }

    private ArrayList<TutorialItem> getTutorialItems(Context context) {
        TutorialItem tutorialItem1 = new TutorialItem(context.getString(R.string.slide_1_african_story_books), context.getString(R.string.slide_1_african_story_books_subtitle),
                R.color.slide_1, R.drawable.tut_page_1_front,  R.drawable.tut_page_1_background);

	// You can also add gifs, [IN BETA YET] (because Glide is awesome!)
	TutorialItem tutorialItem1 = new TutorialItem(context.getString(R.string.slide_1_african_story_books), context.getString(R.string.slide_1_african_story_books_subtitle),
                R.color.slide_1, R.drawable.gif_drawable, true);

        ...

        ArrayList<TutorialItem> tutorialItems = new ArrayList<>();
        tutorialItems.add(tutorialItem1);
        ...

        return tutorialItems;
    }

You should see a tutorial like below:

This library is using the following:

License

MIT License

Copyright (c) 2015 Rebecca Franks

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

compose-playtime

A repo with a bunch of Compose experiments
Kotlin
329
star
2

ConstraintLayoutDemo

Demo showing the possibilities of ConstraintLayout for the Mastering Android Layouts Workshop
Kotlin
323
star
3

android-arch-components-date-countdown

Java
203
star
4

android-retrofit-test-examples

Examples using different mechanisms of testing for Retrofit in Android
Java
173
star
5

android-things-electricity-monitor

Electricity Monitor using Android Things and Firebase Realtime Database
Java
116
star
6

GithubUsersSearchApp

Sample app showcasing how to go about writing tests for Android Apps
Java
99
star
7

adopt-me-compose

🐶 Adopt Me - Jetpack Compose Android Dev submission using Mobius (MVI) and Compose
Kotlin
78
star
8

AndroidDatabaseUpgrades

A demo application showing the correct way to do database upgrades in your Android application using SQLite and the onUpgrade method
Java
70
star
9

android-studio-group-templates-mvp

Example of template for Android Studio, to create a set of files for MVP functionality.
FreeMarker
60
star
10

AnimationFactory

Example of Android Animations for presentation titled "In a world of Pure Android Animation"
Kotlin
54
star
11

android-arch-components-lifecycle

A demo application showcasing the use of the new Android Architecture Components Lifecycle classes. In this example, a Lifecycle Aware Video Player is created using the Exoplayer Library
Java
48
star
12

android-things-motion-camera

Build a motion sensing camera using Android Things
Kotlin
34
star
13

android-demo-mlkit

Examples of using MLkit on Android
Kotlin
34
star
14

android-rainbow-opengl

Sample source code for Android Pride Rainbow Bounding Box written in Kotlin and OpenGL 🏳️‍🌈
Kotlin
34
star
15

android-things-distributed-piano

A distributed piano example using a Raspberry Pi 3, a Piezo and Google Nearby API
Java
33
star
16

public-speaking-cfps

A collection of my CFPs that I've submitted and used at conferences
27
star
17

countdown-timer-compose

#AndroidDevChallege Jetpack Compose Countdown timer
Kotlin
27
star
18

variable-fonts-android-o

Demo app showcasing some variable fonts on Android P
Kotlin
27
star
19

email-app-layouts-android

[WIP] Example layouts for Android using ConstraintLayout and MotionLayout.
Kotlin
15
star
20

remote-config-demo-ssa-launchpad-2016

Java
9
star
21

android-things-workshop-camera

Build a motion sensing camera in this workshop
Kotlin
6
star
22

kotlin-coroutines-android-example

A quick example showing the usage of Kotlin Coroutines on Android.
Kotlin
5
star
23

Leviosa

Set of Android Jetpack Compose Samples
Kotlin
3
star
24

riggaroo

3
star
25

AndroidThings-BlinkingLED

Example blinking LED repo to go with blog post on hardware basics
Java
2
star
26

MinionLiveWallpaper

Java
2
star
27

riggaroo.github.io

HTML
1
star
28

android-studio-file-templates

1
star