I have resolved this issue. I have added the android:singleLine="true"
property and it works right.
<EditText android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:imeOptions="actionDone"
android:singleLine="true"
/>