Text/Design Tab Missing New Android Project on Android Studio IDE

前端 未结 14 1948
情话喂你
情话喂你 2020-11-27 07:55

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

相关标签:
14条回答
  • 2020-11-27 08:15

    I had the same problem, restarting the IDE did make that tab appear again.

    0 讨论(0)
  • 2020-11-27 08:15

    On the top right corner of the activity_main.xml file view, there are 3 icons representing "Code", "Split" and "Design". Click on the leftmost icon of the three ("Code") for the text tab.

    0 讨论(0)
  • 2020-11-27 08:17

    On Android Studio 3.6.1 Top Right corner under the main toolbar you have three different icons (Code, Split, Design).

    0 讨论(0)
  • 2020-11-27 08:17

    I also had this problem after upgrading to 1.5. None of the above suggestions worked for me. I noticed that the default relative layout xml has changed with a third xmlns line and an app behavior line. I opened an older project and copied the old relative layout header to replace the new. Instantly the preview function was restored.

    0 讨论(0)
  • 2020-11-27 08:20

    In the android Studio window, at the left side there are two options available(Project and Resource Manager). Go to resource and there you will see an ADD Module option, click on that. After this you will see your text and design option will get enabled, you can go to your work area by Project Name->app ->src ->main->res ->layout.

    0 讨论(0)
  • 2020-11-27 08:20

    Yes, Even I had the same problem. For the first time... I think It wont show, restarting the IDE did make that tab appear again.

    0 讨论(0)
提交回复
热议问题