I am using Android Studio 3.5 now and after last update, I observed unexpected auto-formatting of XML layout.
In my layout I have:
<androidx.constraintlayout.widget.ConstraintLayout ...
<TextView ...
<ImageView ...
<TextView ...
</androidx.constraintlayout.widget.ConstraintLayout>
After reformat code Code -> Reformat Code
my layout changes in an unespected and unwanted form :
<androidx.constraintlayout.widget.ConstraintLayout ...
<ImageView ...
<TextView ...
<TextView ...
</androidx.constraintlayout.widget.ConstraintLayout>
Question
- Is this a feature in new AS? then how can I revert it back?
- Did I change some setting? What setting should I modify to revert back?