[JAVA] The problem that XML attributes are sorted arbitrarily in Android Studio

At first it was described as follows

<LinearLayout>
    <TextView/>
    <Button/>
</LinearLayout>

After applying automatic code formatting, the order was changed as follows

<LinearLayout>
    <Button/>
    <TextView/>
</LinearLayout>

To prevent this, I did the following: Preference → Code Style → XML → Set form → Android → Apply

Now you can't sort them by yourself.

Recommended Posts

The problem that XML attributes are sorted arbitrarily in Android Studio
3 ways to import the library in Android Studio
Use the JDK used in Android Studio in the terminal
Notes in Android studio
Refer to C ++ in the Android Studio module (Java / kotlin)
Identify threads in the Java process that are wasting CPU
Solved the problem that all the data in the table was displayed
You are currently using Java 6. Solution in Android Studio Gradle
Solved the problem that the scroll event did not fire in JQuery
Problem that the attribute of User model becomes nil in ActionMailer
Automatically insert `@SuppressWarnings` in Android Studio
OkHttp3 (GET, POST) in Android Studio
Expression used in the fizz_buzz problem
What are the rules in JUnit?
I examined the file created when selecting Empty Activity in Android Studio
[Android Studio] Description that can be continuously input in SQLite Database [Java]