I uses EditText to read password from user. When we enter text in the edit view, if we change the orientation before the last character entered changed to password character(dot), the last character never gets converted to password character. Example: Let we want to enter a word stack as password.As we enter the character it changed to .(dot) after some time. Let we changed the orientation when it was displaying ....K (last character of stack is yet to be changed), the last character k is never gets changed, if change the orientation. How this problem can be solved ? I have used the edit text as follows: EditText android:id="@+id/password" android:password ="true" android:inputType="textPassword" android:imeOptions="actionDone" android:layout_height="wrap_content" android:layout_width="fill_parent" android:nextFocusDown="@+id/next"