I want to create a custom View which is just a wrapper of some Android Views. I looked into creating a custom ViewGroup which manages the layout of it\'s child views, but I don\
you can use ViewManager.
fun ViewManager.swipeLayout() = linearLayout { textView { text = "Some text" } textView { text = "Another text" } }
class MainActivity verticalLayout { textView { text = "Something that comes above the swipe" } swipeLayout {} }