Android input method improvements