标签: android android-studio
我有一个空的xml文件,我想在“设计”选项卡中拖动一个ConstraintLayout,但是它不起作用:
答案 0 :(得分:1)
我认为您在文本窗格中的layout.xml为空。您只需在
xmlns:android="http://schemas.android.com/apk/res/android"
然后您就可以将小部件拖到设计窗格中