Created
October 23, 2015 21:56
-
-
Save riseremi/06e1fffe5d3ad66de6ad to your computer and use it in GitHub Desktop.
How to show native Text Field with lingdx
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
final TextInputListener textListener = new TextInputListener() { | |
@Override | |
public void input(String input) { | |
System.out.pringln("Submitted: " + input); | |
} | |
@Override | |
public void canceled() { | |
System.out.println("Aborted"); | |
} | |
}; | |
// the thing | |
Gdx.input.getTextInput(textListener, "Title", "Text", "Hint"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment