I'm implementing a Login UI for a game on Android. I use a Libgdx Textfield, but sometimes the Android keyboard covers up the Textfield, so the entered text cannot be read.
As solution I would like to show a small input area at the top of the Android keyboard like this:

I saw an option where I replace the default keyboard by a Android Textinput Dialog, but I don't like the dialog which pops up:
textfield.setOnscreenKeyboard(new TextField.OnscreenKeyboard() {
@Override
public void show(boolean visible) {
//Gdx.input.setOnscreenKeyboardVisible(true);
Gdx.input.getTextInput(new Input.TextInputListener(){
@Override
public void input(String text){
tf_pw1.setText(text);
}
@Override
public void canceled(){
System.out.println("Cancelled.");
}
}, "Title", "Default text...", "Try it out.");
}
});
Is there a build in option in libgdx I could use, or should I implement it by myself?
Please give advice or hints, Thank you!