Xamarin.Android binding of android tooltips, a simple to use library for android, enabling to add a tooltip near any view with ease
C# PowerShell Shell
Switch branches/tags
Nothing to show
Latest commit 8c91759 Sep 8, 2017 @jzeferino jzeferino Merge pull request #4 from jzeferino/release/1.0.7
Release/1.0.7

README.md

Build Status NuGet

Xamarin.Android.Tooltips

This is a Xamarin Android Binding for the tooltips.

This project provides you a convenient way and simple to use library for android, enabling to add a tooltip near any view with ease.

Usage

Step 1

Install NuGet package.

Step 2

Create a ToolTipsManager.

_toolTipsManager = new ToolTipsManager(this);

Step 3

Use the ToolTip.Builder to create and position your Tooltip.

builder = new ToolTip.Builder(
    this,
    _textView,              /* anchor view */
    _rootLayout,            /* root view, must be a RelativeLayout or FrameLayout. */
    text,                   /* tooltip text */
    ToolTip.PositionAbove); /* Position related to achor view */

builder.SetAlign(_align);   /* arrow align */

_toolTipsManager.Show(builder.Build());

Run and play with the sample.

Read more detailed documention original library project.

License

MIT Licence