Android Tutorial FloatLabeledEditText (ViewsEx)

upload_2016-2-28_15-46-20.png


FloatLabeledEditText is an improved EditText where the hint moves to the top instead of disappearing when there is text in the field.

With the floating hint you no longer need to add a label to describe the field.

The implementation is based on this open source project: https://github.com/wrapp/floatlabelededittext

It is implemented as a custom view. You need to add it from the designer. Note that you can change the text properties.

SS-2016-02-28_15.54.34.png


Technically FloatLabeledEditText wraps an EditText. You can get this EditText with the EditText property.
This is useful if you want to configure the internal EditText.

This library is part of the ViewsEx library (v1.10+). It is supported by Android 4+ and requires B4A v5.8+.
 

Bladimir Silva Toro

Active Member
Licensed User
I need to know what are the steps to implement FloatLabeledEditText.
What is that I must download the library ViewsEx v1.10, I have also read that I must create a custom view .
What would be the code should I write in that custom view?
Someone who has an example to send me, I have B4A 7.3
Thank you very much for your help.
 
Top