Created
March 17, 2016 14:59
-
-
Save codenameone/54e919b2be01561ac91c to your computer and use it in GitHub Desktop.
Codename Ones FloatingHint animates the text components hint label into a component title on top while editing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Form hi = new Form("Floating Hint", BoxLayout.y()); | |
TextField first = new TextField("", "First Field"); | |
TextField second = new TextField("", "Second Field"); | |
hi.add(new FloatingHint(first)). | |
add(new FloatingHint(second)). | |
add(new Button("Go")); | |
hi.show(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sample usage of FloatingHint.
From the Codename One project