[英]My android studio shows graphic on opening activity_main.xml
My android studio shows graphically editing instead of the written xml codes.我的 android 工作室显示图形编辑而不是书面 xml 代码。 The online curse that i am studying requires me to write the xml codes so please tell me how can i switch to text editing of the visual of my app.
我正在研究的在线诅咒要求我编写 xml 代码,所以请告诉我如何切换到我的应用程序视觉的文本编辑。
On the bottom of that xml there are 2 tabs. 在该xml的底部,有2个选项卡。 1st is Design and 2nd is Text.
第一个是设计,第二个是文本。 Select text and you should be able to see the xml file of layout.
选择文本,您应该能够看到布局的xml文件。
After open the xml file you can view two button one is TEXT other is DESIGN on the bottom of xml file . 打开xml文件后,您可以在xml文件底部查看两个按钮,一个是TEXT,另一个是DESIGN。 using TEXT button u can wright xml file .
使用TEXT按钮,可以将xml文件打包。
Insufficient rep to comment.没有足够的代表发表评论。
In 2022 the buttons have moved and changed names:在 2022 年,按钮已移动并更改了名称:
At the TOP (right) of the XML visual editor you will see THREE buttons labelled Code, Split, Design You want the 'Code' button.在 XML 可视化编辑器的顶部(右侧),您将看到三个标记为 Code、Split、Design 您想要“Code”按钮的按钮。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.