Skip to content

allybros/tooltip-bubble

Repository files navigation

TooltipBubble

It's a simple Tooltip.

image

Installing

Add the code block to your project

    allprojects {
        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);

About

Tooltip Bubble is an information bubble creator tool.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy