GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tooltip-view/README.md at master · venmo/tooltip-view

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
39 lines (33 loc) · 1.03 KB
/

README.md

Copy path

File metadata and controls

39 lines (33 loc) · 1.03 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

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
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.