TooltipView

Dead simple Android Tooltip Views

License

License

GroupId

GroupId

com.venmo.view.tooltip
ArtifactId

ArtifactId

library
Last Version

Last Version

0.1
Release Date

Release Date

Type

Type

jar
Description

Description

TooltipView
Dead simple Android Tooltip Views
Project URL

Project URL

https://github.com/venmo/tooltip-view
Source Code Management

Source Code Management

https://github.com/venmo/tooltip-view

Download library

How to add to project

<!-- https://jarcasting.com/artifacts/com.venmo.view.tooltip/library/ -->
<dependency>
    <groupId>com.venmo.view.tooltip</groupId>
    <artifactId>library</artifactId>
    <version>0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.venmo.view.tooltip/library/
implementation 'com.venmo.view.tooltip:library:0.1'
// https://jarcasting.com/artifacts/com.venmo.view.tooltip/library/
implementation ("com.venmo.view.tooltip:library:0.1")
'com.venmo.view.tooltip:library:jar:0.1'
<dependency org="com.venmo.view.tooltip" name="library" rev="0.1">
  <artifact name="library" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.venmo.view.tooltip', module='library', version='0.1')
)
libraryDependencies += "com.venmo.view.tooltip" % "library" % "0.1"
[com.venmo.view.tooltip/library "0.1"]

Dependencies

compile (1)

Group / Artifact Type Version
com.android.support » support-annotations jar 20.0.0

Project Modules

There are no modules declared in this project.

TooltipView

A dead simple way to to add tooltips to your Android app.

<com.venmo.view.TooltipView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignLeft="@+id/anchored_view"
        android:layout_alignRight="@id/anchored_view"
        android:padding="8dp"
        android:gravity="center_horizontal"
        android:text="Your text here!"
        app:tooltipColor="#66009900"
        app:anchoredView="@id/anchored_view" />

Here are the attribute options:

app:tooltipColor="#66009900"
app:anchoredView="@id/anchored_view"
app:arrowWidth="120dp"
app:arrowHeight="120dp"
app:cornerRadius="16dp"
app:arrowAlignmentOffset="32dp"
app:arrowAlignment="end"
app:arrowLocation="top"

Screenshot: https://raw.githubusercontent.com/venmo/tooltip-view/master/sample.png

Download

compile 'com.venmo.view.tooltip:tooltip:0.1.2@aar'

TODO

  • tooltips on the sides of the bubble
com.venmo.view.tooltip

Venmo

Versions

Version
0.1