1

I have a View with a edittext in it at top left side. Issue is that when soft key board appear it move up my whole parent view upside in which this edittext is present. i used the adjustPan and adjustResize and all other properties in manifest file but not helpful for me. I am facing this issue in a specific device.

Pratik
  • 30,639
  • 18
  • 84
  • 159
Asad Iqbal
  • 304
  • 4
  • 16

2 Answers2

4

use this

android:configChanges="keyboardHidden|orientation"

and

android:windowSoftInputMode="adjustPan"

Let me know using both this are helpful to you or not and also use scrollview in the layout where your virtual keyboard is creating problem it also help a bit

Abhinav Singh Maurya
  • 3,313
  • 8
  • 33
  • 51
0

It might need only one property in your android manifest.xml just set "adjustPan" it think that might help,just try it.

Bhavdip Sagar
  • 1,951
  • 15
  • 27
  • Please make sure that in your layout of that activity should be relative so helpful,if you like to share your ui so we can make clear idea. – Bhavdip Sagar Dec 28 '12 at 07:06