How can I force landscape on Android tablet? For non-tablets, I am using napp drawerview and for tablets I am using a fake splitview and want to force it to stay in landscape. I havent not edited the xml, because I am not sure I can define one orientation for tablets and another for phones. I have tried setting:
Ti.Android.currentActivity.setRequestedOrientation(Ti.Android.SCREEN_ORIENTATION_LANDSCAPE);
and
self.orientationModes = [Titanium.UI.LANDSCAPE_LEFT, Titanium.UI.LANDSCAPE_RIGHT];