How do I pass an exactly looking RelativeLayout from one activity to another. The result shoul look something like this: Example
To explain:
I have a GridView which is populated from database using SimpleCursorAdapter and a partial layout. Partial layout looks something like this:
<RelativeLayout>
<TextView/>
<TextView/>
<Button/>
<Button/>
</RelativeLayout>
When user clicks on a details button of an item, I woud like to pass that item's RelativeLayout to the DetailsActivity.
As I understand it cloning is not posible and inflating is not an option.
I coud pass every id, tag and text value and recreate a layout but I'm hopinbg there's an easier way.