Xml code style for AndroidStudio How to import Open Android Studio Preferences > Editor > Code Style > XML Click Setting icon > Import Scheme.. > Select Project.xml in this project.