Skip to content
View AntAntAntAn1's full-sized avatar

Block or report AntAntAntAn1

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
AntAntAntAn1/README.md

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

//TEXT
setButtonText(String text)

//COLORS
setTitleColor(int color)
setDescriptionColor(int color)
setBackgroundColor(int color)
setBackgroundAlpha(int alpha)
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.

Android Arsenal

##Download Gradle:

compile 'net.fredericosilva:showTipsView:1.0.3'

License

Copyright (c) 2014 Frederico Silva

Licensed under the Apache License, Version 2.0

Pinned Loading

  1. AntAntAntAn1 AntAntAntAn1 Public

    Java

  2. Benchmark Benchmark Public

    Official repository of the paper "Exploring What Why and How: A Multifaceted Benchmark for Causation Understanding of Video Anomaly"

    Ruby

  3. exOnline exOnline Public

    Character voting app for EVE Online

    JavaScript

  4. training training Public

    DQW is an EDA tool for training data.

    HTML