title: layout-land concept not working in case of landscape mode
body: <p>I am making an app in which i want to put different layouts for landscape as well as portrait mode of the view.I have made a separate folder layout-land for that purpose but when i move the device to landscape mode,its not working.Please tell me the solution.</p>
  
  <p>This is the activity:</p>
  
  <pre><code>package com.example.fragmenttest;
  
  import android.app.Activity;
  import android.os.Bundle;
  
  public class MainActivity extends Activity {
  
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
      }
  }
  </code></pre>
  
  <p>This is the xml file for this activity:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
       xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
      android:id="@+id/rl"
      android:layout_width="match_parent"
      android:layout_height="match_parent" 
      &gt;
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_centerHorizontal="true"
          android:layout_centerVertical="true"
          android:text="@string/hello_world"
          /&gt;
  
       &lt;com.google.ads.AdView
          android:id="@+id/ad"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_centerHorizontal="true"
          android:layout_alignParentBottom="true"
          ads:adSize="SMART_BANNER"
          ads:adUnitId="a1501e5633125fb"
          ads:loadAdOnCreate="true"
          ads:testDevices="TEST_EMULATOR, 123456789ABCDEF" /&gt;
  
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>This is the xml of the layout in layout-land folder:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical" 
      android:background="@drawable/ic_action_search"
      &gt;
     &lt;TextView 
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:text="This is fragment 2 "   
      /&gt; 
  
  &lt;/LinearLayout&gt;
  </code></pre>