androidandroid-edittextscrollview

How to prevent auto scrolling of EditText when keyboard appears on Android?


Even i put scrollview or not, when my edit text request focus and keyboard appears, my view automatically scrolled to top a little bit. It breaks my design. I have to prevent this.

Could you please help me?


Solution

  • Addthis

     android:windowSoftInputMode="adjustPan"
    
       android:isScrollContainer="false" 
    

    in the manifest file