Is it possible to pass a view e.g a layout with two buttons to a different app (a completely different app with different package name)? I would like to pass a layout from one app to another app and view it in the other app. Please assist.
No, it is not possible. You can pass a json file with the content (only data, strings, values, NO views) and build the layout in the other app based on the data.