找不到UI设计师在全新的Android工作室 [英] Unable to find UI designer in the new Android Studio
问题描述
我已经下载了最近已发布了新的Android工作室。我无法找到的UI设计preVIEW为XML,因为它是在日食。任何上帮助或建议?
I have downloaded the new android studio that has been released recently. I am unable to find the UI design preview for the xml, as it is in eclipse. Any help or suggestions on that?
推荐答案
打开XML布局文件:
- 在底部,你有两个标签:设计/文字
- 在设计模式中,您将看到preVIEW直接
- 在文本模式下,preVIEW是(默认)在右侧,由一个preVIEW按钮,最右边栏中切换
您还可以显示/隐藏与视图>工具窗口> preVIEW
You can also show/hide it with View > Tool Windows > Preview
修改
注意的:在IDE仅当编辑在res /布局的布局文件显示preVIEW *的Android项目的目录。特别是,它不会,如果因为这些编辑的文件在建/ RES /布局*不是源目录,但输出目录显示出来。
Attention: the IDE only displays the preview if editing a layout file in the res/layout* directory of an Android project. In particular, it won't be displayed if editing a file in build/res/layout* since those are not source directory but output directory.
资源文件夹会自动设置,并且可以查看(和改变),在项目结构>模块> [模块名称]>安卓>资源目录。
The Resource folder is set automatically, and can be viewed (and changed) in Project Structure > Modules > [Module name] > Android > Resources directory.
这篇关于找不到UI设计师在全新的Android工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!