[英]Android Studio activity_main.xml design editor not letting me drag and drop anything…?
Go to the xml view and change the -1px
to something positive. 转到xml视图并将
-1px
更改为正值。 Your rendering problem will be fixed and then you will be allowed to drag and drop views. 您的渲染问题将得到修复,然后您将被允许拖放视图。
The message also says (2 similar errors) . 该消息还说(2个类似的错误) 。 Fix those too before trying to drag and drop views onto the layout.
在尝试将视图拖放到布局之前,也要修复这些问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.