How can I enable the text/design Tab on the a src/main/res/layout folder on the activity_main.xml file that was created automatically during create new project? If i do righ
Navigate to activity_main.xml tab then Design and Text tab appears. It doesn't appear in MainActivity.java tab. You do not need to restart IDE.
View -> Tool windows -> Preview .
Output view: