M
M
mitaichik2019-02-13 00:47:11
Android
mitaichik, 2019-02-13 00:47:11

Is there something like include/merge, just the other way around, like wrap?

Hello!
There are such things as include / merge that allow you to include another in one layout.
Is there something that will allow you to wrap one layout into another?
Let's say there is an Activity template with CoordinatorLayout, AppBarLayout, NestedScrollView, etc.
And I would like to wrap other layouts with this template, for example, so that they are included in the NestedScrollView.
I know that I can do this programmatically (inflate 2 layouts and insert them into one into the other, or, for example, through fragments).
But is there something that works at the level of layout xml files?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question