androidxmlandroid-studioandroid-studio-3.2

Android Studio 3.2.1, XML bad indent format


After updating to Android Studio 3.2.1 the XML files format is very annoying and bad, how can we fix it? Can we change it from somewhere in settings to previews type?

new format


Solution

  • You can edit your code styles under File > Settings > Editor > Code Style > XML

    Code Style Settings

    If you want to preview a specific file, just paste that file's contents into the preview window.