All Projects → msayan → Tutorial View

msayan / Tutorial View

Licence: mit
Android Tutorial View

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Tutorial View

Awesomespotlightview
Awesome tool for create tutorial walkthrough or coach tour
Stars: ✭ 225 (-4.66%)
Mutual labels:  tutorial
Machine Learning Resources
A curated list of awesome machine learning frameworks, libraries, courses, books and many more.
Stars: ✭ 226 (-4.24%)
Mutual labels:  tutorial
Graphql Ruby
GraphQL Ruby example for How To GraphQL
Stars: ✭ 231 (-2.12%)
Mutual labels:  tutorial
Wasm By Example
Wasm By Example is a website with a set of hands-on introduction examples and tutorials for WebAssembly (Wasm)
Stars: ✭ 226 (-4.24%)
Mutual labels:  tutorial
Clang Tutor
A collection of out-of-tree Clang plugins for teaching and learning
Stars: ✭ 223 (-5.51%)
Mutual labels:  tutorial
React Landing Page Template
A simple react one page landing page templates for startups/companies
Stars: ✭ 224 (-5.08%)
Mutual labels:  landing-page
Tutorial
Tutorial covering Open Source tools for Source Separation.
Stars: ✭ 223 (-5.51%)
Mutual labels:  tutorial
Wordpress Plugin Boilerplate Tutorial
Tutorials and Examples for WordPress Plugin Boilerplate, a foundation for WordPress Plugin Development.
Stars: ✭ 232 (-1.69%)
Mutual labels:  tutorial
Pvview
A small library that helps you to make an amazing parallax view
Stars: ✭ 227 (-3.81%)
Mutual labels:  tutorial
Neural Network From Scratch
Ever wondered how to code your Neural Network using NumPy, with no frameworks involved?
Stars: ✭ 230 (-2.54%)
Mutual labels:  tutorial
Ja.javascript.info
現代の JavaScript チュートリアル
Stars: ✭ 226 (-4.24%)
Mutual labels:  tutorial
Shell Tutorial
Shell入门教程(Shell tutorial book)
Stars: ✭ 227 (-3.81%)
Mutual labels:  tutorial
Journal Aws Amplify Tutorial
Step by step tutorial to build a personal journal web app with aws-amplify
Stars: ✭ 227 (-3.81%)
Mutual labels:  tutorial
Learn To Send Email Via Google Script Html No Server
📧 An Example of using an HTML form (e.g: "Contact Us" on a website) to send Email without a Backend Server (using a Google Script) perfect for static websites that need to collect data.
Stars: ✭ 2,718 (+1051.69%)
Mutual labels:  tutorial
Person reid baseline pytorch
Pytorch ReID: A tiny, friendly, strong pytorch implement of object re-identification baseline. Tutorial 👉https://github.com/layumi/Person_reID_baseline_pytorch/tree/master/tutorial
Stars: ✭ 2,963 (+1155.51%)
Mutual labels:  tutorial
Todolist flutter
🎓Flutter TodoList tutorial
Stars: ✭ 225 (-4.66%)
Mutual labels:  tutorial
Java8 Tutorial
Modern Java - A Guide to Java 8
Stars: ✭ 15,276 (+6372.88%)
Mutual labels:  tutorial
Redux Simple Tutorial
Redux 莞式教程。本教程深入浅出,配套入门、进阶源码解读以及文档注释丰满的 Demo 等一条龙服务
Stars: ✭ 2,610 (+1005.93%)
Mutual labels:  tutorial
Datavisualization
Tutorials on visualizing data using python packages like bokeh, plotly, seaborn and igraph
Stars: ✭ 234 (-0.85%)
Mutual labels:  tutorial
Functional intro to python
[tutorial]A functional, Data Science focused introduction to Python
Stars: ✭ 228 (-3.39%)
Mutual labels:  tutorial

Tutorial View

Ready to use tutorial screen.

sample_video

Usage

Extend your activity from TutorialActivity and Add fragments in onCreate after super call

public class MainActivity extends TutorialActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        addFragment(new Step.Builder().setTitle("This is header")
                                      .setContent("This is content")
                                      .setBackgroundColor(Color.parseColor("#FF0957")) // int background color
                                       .setDrawable(R.drawable.ss_1) // int top drawable
                                      .setSummary("This is summary") 
                                      .build());
        // Permission Step
        addFragment(new PermissionStep.Builder().setTitle(getString(R.string.permission_title))
                                                .setContent(getString(R.string.permission_detail))
                                                .setBackgroundColor(Color.parseColor("#FF0957"))
                                                .setDrawable(R.drawable.ss_1)
                                                .setSummary(getString(R.string.continue_and_learn))
                                                .setPermissions(new String[]{Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE})
                                                .build());
    }
}

Some helper methods

setPrevText(text); // Previous button text
setNextText(text); // Next button text
setFinishText(text); // Finish button text
setCancelText(text); // Cancel button text
setIndicatorSelected(int drawable); // Indicator drawable when selected
setIndicator(int drawable); // Indicator drawable
setGivePermissionText(String text); // Permission button text

If you want to open another activity on tutorial finish

    @Override
    public void finishTutorial() {
        // Your implementation
    }

If you want change design of view you need following items
  • 1 Container layout with id of container
  • 3 Text view which is for Title id of title, Content id of content, Summary id of summary
  • 1 Image view with id of image

Download

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.msayan:tutorial-view:v1.0.10'
	}
  

License

MIT License

Copyright (c) 2017 Mehmet Ayan

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].