Preview layout with merge root tag in Intellij IDEA/Android Studio

Let's imagine we are developing compound component based on LinearLayout. So, we create class like this: public class SomeView extends LinearLayout { public SomeView(Context context, Attribute...