https://github.com/allybros/tooltip-bubble
Tooltip Bubble is an information bubble creator tool.
https://github.com/allybros/tooltip-bubble
android android-component tooltip-library
Last synced: about 2 months ago
JSON representation
Tooltip Bubble is an information bubble creator tool.
- Host: GitHub
- URL: https://github.com/allybros/tooltip-bubble
- Owner: allybros
- License: gpl-3.0
- Created: 2021-12-06T13:12:24.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-07T06:22:33.000Z (over 3 years ago)
- Last Synced: 2025-02-02T11:32:02.320Z (4 months ago)
- Topics: android, android-component, tooltip-library
- Language: Kotlin
- Homepage:
- Size: 161 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TooltipBubble
[](https://jitpack.io/#allybros/tooltipbubble)
It's a simple Tooltip.

## Installing
```
Add the code block to your projectallprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
dependencies {
implementation 'com.github.allybros:TooltipBubble:1.0'
}
```## How to use?
- It can be use only with text.
### Kotlin
```
Bubble("Text", activity: Activity).showBubble(view: View)
```
### Java```
Bubble bubble = new Bubble("Text", activity: Activity, null, null, null, null);
bubble.showBubble(view: View);
```- Add new background, animation, up or down anchors.
### Kotlin
```
Bubble( "Text",
activity: Activity,
background = R.drawable.new_layout,
anchorDownStyle = R.drawable.new_down_nav,
anchorTopStyle = R.drawable.new_top_nav,
animationStyle = R.anim.new_animation).showBubble(view: View)
```### Java
```
Bubble bubble = new Bubble("Text", activity, R.drawable.new_layout, R.drawable.new_top_nav, R.drawable.new_down_nav, R.anim.new_animation);
bubble.showBubble(view: View);
```