This library will allow you to add tooltips to EditText views.
Requirements:
- B4A 3.8x.
- The RichString library.
How to install:
- Copy the CustomTooltip.jar and CustomToolip.xml to your additional libraries directory.
Usage:
All the methods are self explanatory.
Check the attached sample project for more details.
NOTES:
- In some cases, the tooltip might get obscured by the keyboard.
- The tooltip will adopt the same width as the EditText to which it's attached to.
- When using rich strings, mind the font sizes, if you create large sizes the text might not display properly.
Screenshot:
Requirements:
- B4A 3.8x.
- The RichString library.
How to install:
- Copy the CustomTooltip.jar and CustomToolip.xml to your additional libraries directory.
Usage:
B4X:
'Initialize the CustomTooltip library.
Private tooltip1 As CustomTooltip
tooltip1.Initialize(Activity, TextBox1, True)
tooltip1.Text = "This is a tooltip."
tooltip1.Show
All the methods are self explanatory.
Check the attached sample project for more details.
NOTES:
- In some cases, the tooltip might get obscured by the keyboard.
- The tooltip will adopt the same width as the EditText to which it's attached to.
- When using rich strings, mind the font sizes, if you create large sizes the text might not display properly.
Screenshot:
