You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
+
newSimpleTooltip.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