Home > Enterprise >  Android Studio XML code is folding my code automatically
Android Studio XML code is folding my code automatically

Time:01-21

i'm have a small problem with my android studio IDE, i've made some changes but don't remember exactly where i did made this change in the settings, the problem is that my xml code is always folded, and i want to know how i can change it to be unfolded by default as it should be.

enter image description here

CodePudding user response:

Preferences > Editor > General > Code Folding > XML > XML tags: disable

screenshot

CodePudding user response:

For Android Studio 4.0 or above

Goto Settings or Press (Ctrl Alt S)

And Navigate to Editor = > Code Folding

enter image description here

And uncheck the option XML tags enter image description here

  •  Tags:  
  • Related