Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

How to adjust layout when soft keyboard appears

// add the following line in your Manifest where your Activity is called
android:windowSoftInputMode="adjustResize"
// in some version of Android you should add this instead
android:windowSoftInputMode="adjustPan|adjustResize"
  
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #adjust #layout #soft #keyboard #appears
ADD COMMENT
Topic
Name
6+2 =