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
Notes in Android studio
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
Problem that the attribute of User model becomes nil in ActionMailer
Automatically insert `@SuppressWarnings` in Android Studio
OkHttp3 (GET, POST) in Android Studio
What are the rules in JUnit?
[Android Studio] Description that can be continuously input in SQLite Database [Java]