本文介绍了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
.在底部,您将看到 Design
和 Text
.选择 Text
.如果还是看不到实际布局,只有xml,然后选择Preview
";它位于窗口的右侧,在 Gradle
和 Maven Projects
之间.
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 - 查看布局的文本和设计预览的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!