title: layout_alignParentBottom Not working in RelativeLayout
body: <p>I have one fragment layout xml with <code>RelativeLayout</code> containing <code>AdView</code> with attribute <code>android:layout_alignParentBottom="true"</code> but it is not getting aligned at bottom.</p>
  
  <p>I also have another layout xml where this code is working. Please see two files below.</p>
  
  <p>fragment_info:(Here <code>AdView</code> not gets aligned to bottom)</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:ads="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;android.support.v4.widget.SwipeRefreshLayout
          android:id="@+id/refreshIndicator"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;WebView
              android:id="@+id/blogInfoWebView"
              android:layout_width="match_parent"
              android:layout_height="wrap_content" /&gt;
  
      &lt;/android.support.v4.widget.SwipeRefreshLayout&gt;
  
      &lt;com.google.android.gms.ads.AdView
          android:id="@+id/adViewBlogInfo"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_centerHorizontal="true"
          android:layout_alignParentBottom="true"
          ads:adSize="BANNER"
          ads:adUnitId="@string/blog_info_ad_unit" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>fragment_search:(Here <code>AdView</code> get aligned to bottom)</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:ads="http://schemas.android.com/apk/res-auto"
  android:layout_width="match_parent"
  android:layout_height="match_parent"&gt;
  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"&gt;
  
      &lt;!-- Some code --&gt;
  
      &lt;/LinearLayout&gt;
  
      &lt;include layout="@layout/fragment_post_list_web_view" /&gt;
  
  &lt;/LinearLayout&gt;
  
  &lt;com.google.android.gms.ads.AdView
      android:id="@+id/adViewSearchList"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_centerHorizontal="true"
      android:layout_alignParentBottom="true"
      ads:adSize="BANNER"
      ads:adUnitId="@string/search_list_ad_unit" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>