Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fredericojssilva/ShowTipsView
Highligth specific points of interest of your app
https://github.com/fredericojssilva/ShowTipsView
Last synced: about 6 hours ago
JSON representation
Highligth specific points of interest of your app
- Host: GitHub
- URL: https://github.com/fredericojssilva/ShowTipsView
- Owner: fredericojssilva
- License: apache-2.0
- Created: 2014-10-31T17:48:24.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-18T06:17:05.000Z (over 7 years ago)
- Last Synced: 2023-11-07T14:13:36.654Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 844 KB
- Stars: 598
- Watchers: 24
- Forks: 110
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-android-ui - https://github.com/fredericojssilva/ShowTipsView
- awesome-android-ui - https://github.com/fredericojssilva/ShowTipsView
README
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)
setCloseButtonColor(int color)
setCloseButtonTextColor
setButtonBackground(Drawable drawable)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](https://img.shields.io/badge/Android%20Arsenal-ShowTipsView-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1132)
##Download
**Gradle:**
```
compile 'net.fredericosilva:showTipsView:1.0.4'
```
## License
Copyright (c) 2014 Frederico SilvaLicensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)