I can’t add TabLayout because it removes everything that is on design tab and it won’t even show up in Component Tree.
(https://i.stack.imgur.com/ncd27.png)
Tried to Repair IDE but that doesn’t work.
Issue panel only shows that there are missing constrains, that’s not what I need I think.
2
Answers
Problem solved after updating Android Studio
If your parent layout is ConstraintLayout, then you need to set at least one horizontal or vertical constraint for your tablayout.
for example)