Sesu8642 / FeudalTactics

Strategy game with countless unique and challenging levels.
GNU General Public License v3.0
79 stars 20 forks source link

Android Virtual Keyboard covers the Seed's Text Input Box #52

Open Noodlemire opened 1 year ago

Noodlemire commented 1 year ago

In both portrait and landscape mode, Android's on-screen keyboard completely covers the little text box where you can type a seed in, making it very annoying to try to input any custom seed. It's still possible to input the seed, you just can't check to make sure you're doing it right without hiding the keyboard over and over again.

Ideally, the seed input box should be able to raise itself over the virtual keyboard to remain visible as you type. Or it could just be at the top of the screen in general, but I can understand not wanting to separate the pre-game settings like that. Screenshot_20230412-132825_Feudal_Tactics

Sesu8642 commented 1 year ago

I found this libGDX issue: https://github.com/libgdx/libgdx/issues/3892 Unfortunately, there doesn't seem to be an easy solution. I guess I could detect when the seed input field is focused on Android and then move all the inputs to the top.

mohammaduvez commented 4 days ago

Setting windowSoftInputMode to adjustResize may help.

image

Sesu8642 commented 3 days ago

@mohammaduvez thanks for the tip!