简体   繁体   English

如何在带有视图的android studio中移动布局? 我一直在选择里面的视图

[英]How to move a layout in android studio with views inside? I keep selecting the views inside

I have two linear layouts in a single linear layout and I am having a problem that whenever I try to move the layout, I choose the views inside.我在一个线性布局中有两个线性布局,我遇到一个问题,每当我尝试移动布局时,我都会选择里面的视图。 this is a really silly but annoying thing.这是一件非常愚蠢但令人讨厌的事情。 Does anyone know how to do it?有谁知道该怎么做?

You should be able to just move it using the xml code instead of using the design mode to move it.您应该能够使用 xml 代码移动它,而不是使用设计模式来移动它。 Hope this helps!希望这可以帮助!

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

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