GithubHelp home page GithubHelp logo

jashion / showtipsview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fredericojssilva/showtipsview

0.0 2.0 0.0 910 KB

Highligth specific points of interest of your app

License: Apache License 2.0

Java 100.00%

showtipsview's Introduction

ShowTipsView

ShowTipsView let you highligth specific points of interest of your app.

Usage

ShowTipsView showtips = new ShowTipsBuilder(this)
	.setTarget(btn_test)
	.setTitle("A magnific button")
	.setDescription("This button do nothing so good")
	.setDelay(1000)
	.build();
	
showtips.show(this);

Customization

//COLORS
setTitleColor(int color)
setDescriptionColor(int color)
setBackgroundColor(int color)
setCircleColor(int color)

By default the circle will adjust to the passed view, if you want a custom radius and position use:

setTarget(View v, int x, int y, int radius)

There is a listener for the "Got it" button. You can use it for example to create consecutive tips, just set the callback and create a new ShowTip, like this:

showtips.setCallback(new ShowTipsInterface(){
    @Override
    public void gotItClicked() {
    //Lunch new showtip
    }
});

To only display the tip one time just call displayOneTime(int showtipId) on the Builder.

showtipId is a unique id for that tip.

License

Copyright (c) 2014 Frederico Silva

Licensed under the Apache License, Version 2.0

showtipsview's People

Contributors

fredericojssilva avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.