0

I am new to android development. Also new in using android studio. And when I started to create a new project, the content_main.xml and does look like thiscontent_main.xml

But not to other xml enter image description here

And here is the output

enter image description here

How can I even edit the layout, when I can't see it. Also when i drop anything from the palette, I cannot see it.

2 Answers2

0

Try to change the android version to some lower in xml. Change from 28

Ankit Jayaprakash
  • 1,040
  • 3
  • 15
  • 31
0

Do not use content main. It is for including inside activity_main.xml. Make everything inside your main layout and finnaly you can see the result. And don't forget that ConstraintLayout needs constraints for all elements. First of all read about other layouts and learn how to use them.

TT_W
  • 78
  • 6