Android Studio XML code is folding my code automatically

Viewed 89

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

2 Answers

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

screenshot

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

Related