Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio reverse layout code after reformatting xml layout code [duplicate]

After reformatting code in layout XML, Android studio 3.5 is reverse whole code. So anyone has a solution for that?

like image 768
Akash Ratanpara Avatar asked Aug 21 '19 04:08

Akash Ratanpara


1 Answers

  • Open Settings > Editor > Code Style > XML > Arrangements
  • Click Set from... text
  • Select Predefined Styles > Android
  • Click Apply button
like image 187
MertNYuksel Avatar answered Nov 08 '22 18:11

MertNYuksel