Search code examples
androidintellij-ideaandroid-studiointellij-14

How do I remove the right hand margin line in Android Studio (Intellij)?


I want to remove the right hand margin line in Android Studio/IntelliJ. I have pointed out the line in question in the image below.

I searched Android studio settings and search Google many times.. but I couldn't find anything.

How do I remove that line?

enter image description here


Solution

  • Easy solution to this :)

    Go to File, then Other Settings, then Default Settings. Choose Code Style from the list on the Left, then General. Change the Right Margin attribute to be 0. This will remove the line.

    Hope this helps. Here's a picture: