简体   繁体   中英

I can't drag and drop any element in android studio after update

After update the android studio I am enable to use material designing. but I can't user any UI element in drag and drop mode. mouse curse shows in halfly cutted black circle

在此处输入图片说明

It is not very obvious from your screen shot but unless I'm mistaken, you are looking at an activity_*.xml . If this is uneditable, I believe you should have a corresponding content_*.xml which should look, at Design View, the same as what you are viewing in your screen shot but editable.

Why this happens and what is the difference between the two files, I don't know yet. So far I have experienced this when generating RelativeLayout s.

I have found a solution that works for me
go to setting > appearance and behaivor > check drag n drop with ALt press click apply
again goto same and now uncheck the drag n drop with ALT press click apply.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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