skip to Main Content

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


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

    screenshot

    Login or Signup to reply.
  2. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search