Android Studio Design Editor Activity_main.xml doesn't let me drag anything ...?

The name says it all, the image is as follows. Let me know what you can do!

Image 1. Attempt to drop widget:

enter image description here

Image 2. Not dropping the widget:

enter image description here

Image 3. The contents of the Xml file

enter image description here

+4
source share
1 answer

Go into the xml view and change -1pxto something positive. Your processing problem will be fixed and you will be allowed to drag and drop views.

The message also says (2 similar errors). Fix them before trying to drag them onto the layout.

+1

Source: https://habr.com/ru/post/1623228/


All Articles