etAccount.setEnabled(false); etAccount.setKeyListener(null);"setEnabled" just make the edittext gray.