EditText and the operation of mobile phone keyboard

view full story

http://stackoverflow.com – I use an EditText in a layout. There is another layout below this layout. When I click edit, it popup virtual keyboard. Another layout is also displayed. I check the reference. There are two solutions. Method one: set attribute when define Activity <activity android:name="ViewActivity" android:label="@string/app_name" android:windowSoftInputMode="adjustUnspecified|stateHidden" android:configChanges="orientation|keyboardHidden"> </activity> Method two: add a ScrollView below EditText <EditText android:id="@+id/wb_sendMsg_editText1" andr (HowTos)