Android Studio-查看布局的文本和设计预览 [英] Android Studio - view both Text and Design preview of layout

查看:355
本文介绍了Android Studio-查看布局的文本和设计预览的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Android Studio中,如何同时查看XML布局的文本和设计预览.

In Android Studio, how can I view both the text and design preview of an XML layout side by side.

默认情况下,当我安装Studio时可以看到它,但是现在已经不见了, 我不知道为什么.我只能看到对方.

I could see it by default when I installed Studio, but now that is gone, and I'm not sure why. I can only see or the other.

如何重新启用它?

推荐答案

打开您的[whatever].xml.在底部,您将看到DesignText.选择Text.如果仍然看不到实际布局,则只能查看xml,然后选择位于窗口右侧GradleMaven Projects之间的"Preview".

Open your [whatever].xml. At the bottom you'll see Design and Text. Select Text. If you still can't see the actual layout, only xml, then select "Preview" which is located at the right of the window, between Gradle and Maven Projects.

希望这会有所帮助.

这篇关于Android Studio-查看布局的文本和设计预览的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆