- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi everyone.
I need some help with soft keyboard over android. I have a view with a form in it but, when I use the keyboard, it push the view and made everything smaller.
I search on internet many solutions and I found something that I can use without using any plugin, it's about setting the preferences on "intelxdk.config.additions.xml" and the preferences are:
- <preference name="fullscreen" value="false">
- <preference name="android-windowSoftInputMode" value="adjustPan">
Everything works fine over Intel Debbuger in my Android Tablet (with App Preview), but, when I build the APK file and run it in the same tablet doesn't work and the view is resized smaller again.
- Marcas:
- HTML5
- Intel® XDK
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Thanks to all for your patience.
with the help of Rakshith we have figured it out what was causing the problem.
My content styles were set up with viewport width (vw) and height (vh) values. So, each time the keyboard was displayed my viewport shrinked along with all the elements that has been set with viewport values.
In order to fix it, I just add new properties and set the values in pixels, so my code went from:
height: 10vh;
to:
height: 10vh; min-height: 30px; max-height: 400px;
I want to thank again to Rakhshith for that advice.
I hope this works for anyone else.
Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
In the build settings for android, there is option "Optimize with Crosswalk", can you try building with and without this option, and let me us know if you are seeing this issue on both or not?
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hello Mr. Rakshith, thank you for your help.
I was building the project with the Crosswalk activated (and did not know it), so, all the images before were with this option activated.
Unfortunately, when I deactivate this option and build the APK, the view was still shrink and the elements where moved with and without the keyboard.
Is there another way to solve this issue??
Kind regards.
PS. I submit an screenshot from my Android Tablet after deactivate the Crosswalk option.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Can u send me your sample project as zip via private message? i will take a look
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hello, Rakshith.
Last friday I sent you a private message but I not sure if I did correctly because in my dashboard I can not see it.
I'm going to try it again, please let me know if you received my private message.
Kind regards
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Carlos, there is no PM. To send a PM, click on the "Send Author a Message" link on any post from Rakshith.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hello Pamela.
I used that option to send a message to Rakshith, the one that is located next to his name on his response. Nevertheless, I can not see the message on my dashboard, That is why I am not sure if it was send correctly.
Thanks for the info, im going to try it again.
Kind regards
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I got the message with attachment, will investigate and let you know.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Thanks to all for your patience.
with the help of Rakshith we have figured it out what was causing the problem.
My content styles were set up with viewport width (vw) and height (vh) values. So, each time the keyboard was displayed my viewport shrinked along with all the elements that has been set with viewport values.
In order to fix it, I just add new properties and set the values in pixels, so my code went from:
height: 10vh;
to:
height: 10vh; min-height: 30px; max-height: 400px;
I want to thank again to Rakhshith for that advice.
I hope this works for anyone else.

- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora