I would like to ask why is that my android emulator always displays on landscape even though I have a android:orientation="horizontal" on my code here is my screenshot
and when I change it to portrait mode using ctrl + f11 it is still on landscape mode.
- Android Manifest
`
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="19" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".Splash"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".Menu"
android:label="@string/app_name" >
<intent-filter>
<action android:name="com.project.billmoko.MENU" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".Calculation"
android:label="@string/app_name" >
<intent-filter>
<action android:name="com.project.billmoko.CALCULATION" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".Instruction"
android:label="@string/app_name" >
<intent-filter>
<action android:name="com.project.billmoko.INSTRUCTION" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".Tips"
android:label="@string/app_name" >
<intent-filter>
<action android:name="com.project.billmoko.TIPS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".BillingCenter"
android:label="@string/app_name" >
<intent-filter>
<action android:name="com.project.billmoko.BILLINGCENTER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".AboutUs"
android:label="@string/app_name" >
<intent-filter>
<action android:name="com.project.billmoko.ABOUTUS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>`
XML File
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/background2" android:screenOrientation="portrait" >