It\'s small Android 2.2 test application using the Compatibility Package. This is the (wrong, of course) way I try to replace a Fragment when receiving a click. I\'m trying
there is another way, when you are developing apps for tablet with big screens you can inflate diferents layout ffor each screen orientations.you just have to create the two layouts and named them with portrait or landscape, in onCreate it simply inflate the xml according with the orientation.
on the onClick event just identify the orientation with: getResources().getConfiguration().orientation
and do your stuff