PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → [Android] The keyboard hides controls on screen
[Android] The keyboard hides controls on screen
Débuté par HIS 21, 05 oct. 2016 16:54 - 2 réponses
Membre enregistré
12 messages
Posté le 05 octobre 2016 - 16:54
Good evening everybody,

is there a way to get scrollbars on the "window" when the keyboard come up on the screen?

I will explain my problem with this example:

I have a window with an edit control at the top and a button at the bottom.
When I put focus on the edit control, the keyboard hides my button, then I can't see it.

I've tryed to check the "Automatic Scrollbars" option of my window but the problem persists.
Posté le 05 octobre 2016 - 19:42
Hi

what you call a problem is the normal/usual behavior of ALL android apps...

in some cases, the WHOLE SCREEN is replaced by the keyboard and a
standard input field.

So if you want to do something different than that, you'll need to:
- stop using the standard keyboard and code your own
- stop using edit fields and use display fields instead, filled by your
keyboard.

At that point, you have full control, and an app that behaves completely
differently than all the others

BEst regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Le 10/5/2016 à 8:54 AM, HIS 21 a écrit :
Good evening everybody,

is there a way to get scrollbars on the "window" when the keyboard come
up on the screen?

I will explain my problem with this example:

I have a window with an edit control at the top and a button at the bottom.
When I put focus on the edit control, the keyboard hides my button, then
I can't see it.

I've tryed to check the "Automatic Scrollbars" option of my window but
the problem persists.
Membre enregistré
12 messages
Posté le 06 octobre 2016 - 12:35
Hi,

a lot of application do that: just think about a simple SMS application, when the keyboard appear all messages and the input field goes up, or think about the WhatsApp application that we all know, the keyboard doesn't hide the input field.

I was hoping that in WM there was a feature to simplify the implementation of this keyboard behavior.

To implement a custom keyboard is not a solution that I can consider.
Message modifié, 06 octobre 2016 - 12:35