0

When I click a TextInput field, the software keyboard shows up, but it seems like it tries to compress the entire layout in the remaining space above the keyboard. All elements with relative size ends up smaller. Are there any general guidelines for solving this problem?

Skogen
  • 721
  • 1
  • 11
  • 30

2 Answers2

0

To fix it you should use LinearLayout. Because Relative depends of other elements.

Serafins
  • 1,237
  • 1
  • 17
  • 36
0

You need to add android:windowSoftInputMode="adjustPan" in the AndroidManifest.xml file, inside the application tag.

Scorpio
  • 1,124
  • 1
  • 11
  • 28
  • I cant find the manifest file in the project folder, nor in Qt Creator (necessitas). It is a Qt Quick application. – Skogen Dec 18 '13 at 13:42