この3つのステップで問題が解決すると思います。
1)マニフェストファイルでwindowSoftInputMode="adjustPan"をwindowSoftInputMode="adjustResize "に変更します
2)EditTextに使用しているレイアウトは、親レイアウトをScroolViewに変更します。
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/android:list"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<EditText
android:id="@+id/edittextview"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:inputType="textFilter"
android:padding="10dp"
android:imeOptions="actionDone"
android:scrollbars="vertical"
android:textSize="14sp" />
</ScrollView>
3)Edittext onclick writeで「戻るボタンでキーボードを閉じ、ウィンドウが調整されない」ことを避けるために、キーボードを明示的に表示するには
edittext.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
InputMethodManager m = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
if (m != null) {
m.toggleSoftInput(0, InputMethodManager.SHOW_IMPLICIT);
edittext.requestFocus();
}
}
});
これで問題が解決することを願っています。