如何在Android Studio中切换到图形编辑器? [英] How can I switch to the graphic editor in Android Studio?

查看:314
本文介绍了如何在Android Studio中切换到图形编辑器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法切换到Android Studio中的图形编辑器.我只有XML编辑器(没有预览或调色板窗格).如何找到该编辑器?

I'm unable to switch to the graphic editor in Android Studio. I have only then XML editor (no preview or palette pane). How can I find this editor?

推荐答案

活动未附加到图形编辑器. 如果要谈论设计视图,则必须单击编辑器窗口底部文本"选项卡左侧的设计"选项卡. 看一下所附的屏幕截图.

Activities aren't attached to graphic editors. If you're talking about the design view you have to click the "Design" tab that is to the left of the Text tab, at the bottom of the editor window. Take a look to the attached screenshot.

这是对该标签的更仔细的观察

This is a closer look to that tab

无论如何,如果您处于文本"视图中,则可以通过单击位于右上方的预览"面板来查看布局的预览.屏幕上的内容,请看下一个屏幕截图.

Anyway if you are in the "text" view you can view a preview of the layout, by clicking the "preview" panel that it's placed at the top right of the screen, take a look to the next screenshot.

最后,这是扩展了这些面板的总体视图,希望对您有所帮助:

Finally this is a general view with those panels expanded, hope it helps:

这篇关于如何在Android Studio中切换到图形编辑器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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