Skip to content

mu29/TutoShowcase

This branch is 1 commit ahead of, 1 commit behind florent37/TutoShowcase:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b8522ae · Mar 13, 2018

History

52 Commits
Mar 13, 2018
Jan 7, 2018
Jan 7, 2018
Aug 17, 2016
Mar 13, 2018
Jan 7, 2018
Aug 8, 2016
Jan 4, 2018
Jan 7, 2018
Aug 8, 2016
Aug 8, 2016
Aug 8, 2016
Jan 7, 2018
Aug 16, 2016

Repository files navigation

Tuto Showcase

A simple and Elegant Showcase view for Android

Android app on Google Play

screen

TutoShowcase.from(this)
    .setContentView(R.layout.tuto_sample)

    .on(R.id.about) //a view in actionbar
    .addCircle()
    .withBorder()
    .onClick(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            //custom action
        }
    })

    .on(R.id.swipable)
    .displaySwipableRight()

    .show();

Download

Buy Me a Coffee at ko-fi.com

Download

compile 'com.github.florent37:tutoshowcase:1.0.1'

Tutorial

You can simply limit a showcase visibility to once with .showOnce(string)

Content View

It's simple to add a content view into the TutoShowcase, you can for example add images or descriptions texts

TutoShowcase.from(this)
    .setContentView(R.layout.tuto_sample)
    ...
    .show()

screen

Indicators

You can higlight some elements to user

Circle

.on(view)
.addCircle()

screen

RoundRect

.on(view)
.addRoundRect()

screen

Actions

Some actions can be explained to the user

Scrollable

.on(view)
.displayScrollable()

Swipable Left

.on(view)
.displaySwipableLeft()

screen

Swipable Right

.on(view)
.displaySwipableRight()

screen

Events

You can listen for indicator click

.on(view)
. //your indicator
.onClick(new View.OnClickListener(){
    public void onClick(View view){
         //your action
    }
}

If you have any clickable view into your content layout

TutoShowcase.from(this)
    .setContentView(R.layout.tuto_sample)
    .onClickContentView(R.id.clickableView, new View.OnClickListener() {
        @Override
        public void onClick(View view) {
                            
        }
    })
    ...
    .show()
Android app on Google Play

About

A simple and Elegant Showcase view for Android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.7%
  • Shell 0.3%