I first choose default orientation from my emulator. Then i choose to view landscape and it works. But again when i turn my emulator into default orientation then i find that my application orientation doesn’t change.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
This is the issue that sometimes appears in emulator version 2.3 I solved this problem by running the application on 4.0