Problem Description
Have been trying to setup a tab app to be locked in landscape mode via tiapp.xml (modifying the android manifest):
<android xmlns:android="http://schemas.android.com/apk/res/android">
<manifest>
<activity
android:name="org.appcelerator.titanium.TiActivity"
android:configChanges="keyboardHidden"
android:screenOrientation="landscape"
/>
<activity android:name="ti.modules.titanium.ui.TiTabActivity"
android:configChanges="keyboardHidden"
/>
<activity
android:name="ti.modules.titanium.ui.TiTabActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="landscape"
/>
</manifest>
</android>
Actual Results
The tabbed app doesn't show in landscape
Expected results
The tabbed app showing in landscape mode.
Test Case.
1. Create a new mobile Project
2. Replace the default android manifest section in the tiapp.xml with this:
<android xmlns:android="http://schemas.android.com/apk/res/android">
<manifest>
<activity
android:name="org.appcelerator.titanium.TiActivity"
android:configChanges="keyboardHidden"
android:screenOrientation="landscape"
/>
<activity android:name="ti.modules.titanium.ui.TiTabActivity"
android:configChanges="keyboardHidden"
/>
<activity
android:name="ti.modules.titanium.ui.TiTabActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="landscape"
/>
</manifest>
</android>
4. Run
HD Discussion
http://support-admin.appcelerator.com/display/APP-654753
Correct android manifest section in tiapp.xml (added *
Closing ticket as invalid.