Aniruddh Bajirao wrote:
> For a rather crazy reason I am trying to pass a linearLayout from one
> activity to another.

Please don't.

> Should I use an intent extra for this?

You can't, as Views cannot be held in extras.

> What would be the right way to create a LinearLayout in one activity and
> then spawn a new activity using that linearLayout?

The right way is not to do it at all. I feel rather confident there is a
better implementation of whatever sort of business logic you are trying
to do here.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training in US: 14-18 June 2010: http://bignerdranch.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to