Portrait orientation for splash screen for android in appcelerator?

You must Login before you can answer or comment on any questions.

If I start my app in lanscape mode, then splash screen is landscape and then changed to portrait.How to set the portrait orientation always for the start up?

2 Answers

Hello Dinesh,

See this LINK

— answered 8 months ago by Ritesh .
answer permalink
1 Comment
  • I didn't get the solution for fixed the splash screen orientation set to portrait.pls help...

    — commented 8 months ago by Dinesh G D

Hello, Just follow this steps and get it done:

One option to get Splash screen in portrait mode is goto android project folder ---> build ---- > android ------> here you can see AndroidManifest.xml file .

Copy AndroidMenifest.xml file text and put in AndroidManifest.custom.xml file in same folder where AndroidManifest.xml file is kept and in activity tag write android:screenOrientation="portrait" for portrait mode and replace android:configChanges="keyboardHidden|orientation" to android:configChanges="keyboardHidden" in whole file in each activity .

Example

<activity>
android:configChanges="keyboardHidden"
android:screenOrientation="portrait"
</activity>
This will solve your problem.

Your Answer

Think you can help? Login to answer this question!