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.