For some unknown reason, I can\'t edit files in Android Studio. This include both java and xml files.
When I launch Android Studio (ver 1.2.2) , everything is fine.
uninstall IdeaVIM solved my problem. Android studio> Preferences > Plugins > IdeaVim (uninstall)