There is a layout with tabs. The TabWidget element is located at the bottom of the screen (at the bottom :)). The contents of each tab - activate. Here is the layout of one of the activit simplified as follows:

<RelativeLayout... > <EditText.../> <ListView... > </RelativeLayout> 

Here, when I turn into this tab, the focus falls on EditText, the keyboard opens and !!! TabWidget rises up !!! it is displayed above the keyboard, when you close the keyboard TabWidget falls into place. If the ListView is removed, then there are no such problems.

  • maybe a problem in <RelativeLayout ...>, replace with LinearLayout - Gorets
  • did not help) - Natasha
  • show all activ with TabWidget - Gorets

1 answer 1

Try setting the corresponding Android element to the AndroidManifest.xml attribute value android: windowSoftInputMode . If I understand the task correctly, you will use the values adjustPan or adjustResize .

  • Thank you, it came. To activate tabs, insert the string android: windowSoftInputMode = "adjustPan". - Natasha