Re: [android-developers] Fragment within a fragment?

2012-03-20 Thread Pedro
This is really unfortunate. I've been developing an app with nested fragments that works fine on Android 3.1. I just started testing on an Android 3.2 device, and it is now throwing the following exception: E/AndroidRuntime( 3580): Caused by: java.lang.IllegalArgumentException: Binary XML

Re: [android-developers] Fragment within a fragment?

2012-03-20 Thread Mark Murphy
On Mon, Mar 19, 2012 at 7:47 PM, Pedro pl...@ipass.com wrote: I don't really want to nest the fragments, but I don't have a choice since I'm using ActionBar tabs, which by definition only accepts fragments to be added as tabs. Nonsense. Just because you are handed a FragmentTransaction does

[android-developers] Fragment within a fragment?

2011-11-16 Thread Doug Gordon
So Fragment A is instantiated, inflates its view, and goes on its merry way. Can Fragment A later instantiate a Fragment B and add it to one of Fragment A's own child views, thus creating a sort of fragment within a fragment? I can't think of a reason why not, but still don't have a really

Re: [android-developers] Fragment within a fragment?

2011-11-16 Thread Mark Murphy
On Wed, Nov 16, 2011 at 1:38 PM, Doug Gordon gordo...@gmail.com wrote: So Fragment A is instantiated, inflates its view, and goes on its merry way. Can Fragment A later instantiate a Fragment B and add it to one of Fragment A's own child views, thus creating a sort of fragment within a