Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1953] Android: Setting Activity to Portrait while in Landscape Display Incorrectly

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionInvalid
Resolution Date2012-08-21T16:27:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, defect
ReporterDon Thorp
AssigneeNeeraj Gupta
Created2011-04-15T03:06:24.000+0000
Updated2017-03-09T23:27:36.000+0000

Description

See http://developer.appcelerator.com/helpdesk/view/45691">Helpdesk 45691

Workaround:

Add the "android:screenOrientation=Portrait" to each of the activities ... in the build/Android/AndroidManifest.xml file and save it as AndroidManifest.custom.xml in the same folder.

<activity
            android:name="org.appcelerator.titanium.TiActivity"
            android:configChanges="keyboardHidden|orientation"
            android:screenOrientation="portrait"
        />

Comments

  1. Junaid Younus 2012-08-21

    No test code provided and link to help desk ticket doesn't work, ticket marked as invalid.
  2. Neeraj Gupta 2012-08-21

    Please reopen this ticket if you can reproduce this issue with a more recent release.
  3. Lee Morris 2017-03-09

    Closing ticket as invalid.

JSON Source