2

I have one form (Scroll View) in TabActivity, tabs appears on bottom of the page, and I have one EditText element bottom of the page. Whenever user wants to enter text total UI moving top along with Title bar. Is there any possibility to prevent it?

Sergey Glotov
  • 20,200
  • 11
  • 84
  • 98
Bhaskar Reddy
  • 480
  • 5
  • 13

2 Answers2

1

Try to set android:windowSoftInputMode to the activity in your Manifest. Otherwise change the Layout to relative and make your EditText android:layout_alignParentBottom="true"

Refer this Example

Community
  • 1
  • 1
Som
  • 1,514
  • 14
  • 21
1

Use android:windowSoftInputMode="adjustPan" in android manifest with your activity or refer SoftInputMode documentation.

Sergey Glotov
  • 20,200
  • 11
  • 84
  • 98
ankita gahoi
  • 1,532
  • 2
  • 15
  • 28