Skip to content

Commit 3217e84

Browse files
committed
Update README.md
1 parent a45d2a7 commit 3217e84

File tree

1 file changed

+34
-2
lines changed

1 file changed

+34
-2
lines changed

README.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,34 @@
1-
# android-simple-tooltip
2-
Uma simples biblioteca baseada no PopupWindow para criação de Tooltips em Android
1+
# Android Simple Tooltip
2+
3+
Uma simples biblioteca baseada no [PopupWindow](http://developer.android.com/intl/pt-br/reference/android/widget/PopupWindow.html) para criação de Tooltips em Android.
4+
5+
## Demonstração
6+
7+
![Demonstração](https://raw.githubusercontent.com/douglasjunior/android-simple-tooltip/master/screenshots/demo.gif)
8+
9+
Confira o [projeto de exemplo](https://github.com/douglasjunior/android-simple-tooltip/blob/master/sample/src/main/java/io/github/douglasjunior/androidSimpleTooltip/sample/MainActivity.java).
10+
11+
## Uso
12+
13+
```java
14+
View yourView = findViewById(R.id.your_view);
15+
16+
new SimpleTooltip.Builder(this)
17+
.anchorView(yourView)
18+
.text("Texto do Tooltip")
19+
.gravity(Gravity.RIGHT)
20+
.animated(true)
21+
.transparentOverlay(false)
22+
.build()
23+
.show();
24+
```
25+
26+
## Licença
27+
28+
```
29+
The MIT License (MIT)
30+
31+
Copyright (c) 2016 Douglas Nassif Roma Junior
32+
```
33+
34+
Veja o [arquivo de licença](https://github.com/douglasjunior/android-simple-tooltip/blob/master/LICENSE).

0 commit comments

Comments
 (0)