D
D
Denis2015-12-26 23:20:31
Android
Denis, 2015-12-26 23:20:31

The keyboard shifts ALL elements to the status bar. How to fix?

What is the point.
When there are input fields in the interface that are lower than the highest point of the virtual keyboard, then QT raises the ENTIRE interface. All elements. And thus obscures the status bar.
Exactly the same question on stack (Unanswered)
stackoverflow.com/questions/34361522/qml-elements-...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lomikman, 2015-12-26
@lomikman

didn’t work under qt, but if you have access to oncreate in acitvity, try to write it there
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);

J
Jacob E, 2015-12-27
@Zifix

This is normal behavior, it's not in Qt, for example, in native skype it is. If you still need to remove it, then add it to the end of the tag in AndroidManifest

<activity ... android:windowSoftInputMode="adjustResize">
On Android 4 it worked, on 5 it has not yet been sorted out.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question