Screen Orientation in Android
Support Screen Orientation in Android Android project defaultly having main.xml file in layout folder. It supports both portrait and landscape. But some times our layout is not aligned well when skip to landscape mode. So we cannot able to get an expected view.Ex: textview ,button are misplaced. We can overcome this problem by using "layout-land" folder in our application. Step 1: Copy the below code and paste it in main.xml file which is in layout folder. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orient...