On Aug 10, 2012, at 4:16 AM, MysteriX <wolf.benja...@arc-greenlab.de> wrote:
> i try to place a second layout in my project.

I would suggest _not_ doing what you're doing. Instead of calling 
SetContentView() within your Click handler, you should instead call 
StartActivity() to a new Activity subclass which has its own SetContentView() 
invocation.

This is more consistent with Android in general, and allows you to sanely 
handle screen rotation/etc.

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to