简体   繁体   English

如何在Android Studio中更改布局(无编码)

[英]How to change layout (without coding) in Android Studio

How do I change the layout in android studio without coding? 如何在没有编码的情况下更改android studio中的布局? I know that in eclipse ADT I just had to right click on the layout I wanted to change in the Outline and choose the option "change layout". 我知道在eclipse ADT中我只需右键单击我想在Outline中更改的布局并选择“更改布局”选项。 How do I do this in Android Studio. 我如何在Android Studio中执行此操作。 I can not find the answer anywhere. 我无法在任何地方找到答案。

When viewing your main activity.xml file, under the component tree right click the layout, and under the "Morphing" menu you will be able to change to a different layout. 查看主activity.xml文件时,在组件树下右键单击布局,在“变形”菜单下,您将能够更改为其他布局。 Note: my Android Studio crashes when I do this! 注意:当我这样做时,我的Android Studio崩溃了!

"Morphing" menu you will be able to change to a different layout “变形”菜单,您将能够更改为不同的布局

It can only change it to relative / radio / table / grid 它只能将其更改为relative / radio / table / grid

No direct Option for linear , Android Studio 1 (latest) not crashing. 没有针对线性的直接选项,Android Studio 1(最新版)没有崩溃。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM