Skip to content

A Sample that shows tip View when your app first launching

License

Notifications You must be signed in to change notification settings

Jalsoncc/TipsViewSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TipsViewSample

A Sample that shows tip View when your app first launching

Usage

    TipsView tipsView  = new TipsBuilder(this)
            .setCircle(false)
            .setCallback(new TipsViewInterface() {
                @Override
                public void gotItClicked() {
                    //click!
                }
            })
            .setDescription("This is helloworld")
            .setDescriptionColor(Color.parseColor("#ffffff"))
            .setBackgroundColor(Color.parseColor("#88000000"))
            .setTarget(textView)
            .setButtonVisibble(true)
            .setButtonTextColor(Color.parseColor("#000000"))
            .setButtonText("click me")
            .setTitle("This is Title")
            .setTitleColor(Color.parseColor("#ffffff"))
            .build();
    tipsView.show(this);

Other Usage

    you can set drawable object to TipsView 
            TipsView tipsView  = new TipsBuilder(this)
  		.setTarget(tv_smart_title)
  		.setTitleColor(Color.parseColor("#fa5f5f"))
  		.setDrawable(getResources().getDrawable(R.drawable.tips_2))
  		.setCircle(false)
  		.setDelay(1000)      
  		.build();
 		tipsView.setCircleColor(Color.WHITE);
      	tipsView.show(this);

##Thanks

fredericojssilva

About

A Sample that shows tip View when your app first launching

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages