Question

I m trying to run the code given here - http://code.google.com/p/android-honeycomb-fragment-tutorial/source/browse/#svn%2Ftrunk%253Fstate%253Dclosed on a 7 inch emulator in portrait or landscape using the android support package. Well from the code its obvious portrait shouldn't show up the fragments but neither is landscape. But no matter what I do I am not able to see the fragments in the screen. Is there a minimum screen setting for seeing the different fragment screens in Android?

Was it helpful?

Solution

There is no minimum screen setting for fragments to be show on Android. You see only one fragment because they have a single fragment in both the activities in the Portrait mode.

Portrait : http://code.google.com/p/android-honeycomb-fragment-tutorial/source/browse/trunk/res/layout/main.xml

In the Lanscape mode there are two fragments shown, and these should show up

Landscape : http://code.google.com/p/android-honeycomb-fragment-tutorial/source/browse/trunk/res/layout-land/main.xml

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top