如何显示Android Studio中丰富的布局编辑器?编辑器、布局、丰富、Android

2023-09-07 23:21:59 作者:孤独┟┺┲┨死亡

我如何显示或利用丰富的布局编辑器Android Studio中谈到了?

How do I show or use the rich layout editor talked about in Android Studio?

更多资讯结果我是新来的Java和我刚刚下载的Andr​​oid Studio和创建的登录例子。我似乎无法找到富布局编辑器,也就是在宣传册。我想创建一个应用程序和布局的UI组件。我想通过查看由富人布局编辑器生成的code学习code。

More Info I'm new to Java and I just downloaded Android Studio and created the Login example. I can't seem to find the "rich layout editor" that is in the brochure. I want to create an app and layout the UI components. I'm trying to learn code by looking at the code that is generated by the rich layout editor.

更多资讯结果 Android的工作室 - 丰富的布局编辑器,允许你拖和拖放UI组件,在多个屏幕配置preVIEW布局,以及更多。

More Info Android Studio - A rich layout editor that allows you to drag-and-drop UI components, preview layouts on multiple screen configurations, and much more.

推荐答案

我想通了。为了显示你在布局目录的src / main / RES /布局,打开该文件的丰富的布局工具。对我来说,这个文件是login.xml。

I figured it out. To show the rich layout tool you have to open the file in the layout directory, "src/main/res/layout". For me this file is, "login.xml".

另外请注意,在屏幕的底部有两个标签,设计和文本。

Also, note that at the bottom of the screen are two tabs, "Design" and "Text".