PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → [Android] The keyboard hides controls on screen
[Android] The keyboard hides controls on screen
Iniciado por HIS 21, 05,oct. 2016 16:54 - 2 respuestas
Miembro registrado
12 mensajes
Publicado el 05,octubre 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.
Publicado el 05,octubre 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.
Miembro registrado
12 mensajes
Publicado el 06,octubre 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.
Mensaje modificado, 06,octubre 2016 - 12:35