title: This RelativeLayout layout or its LinearLayout parent is possibly useless?
body: <p>I have below <code>xml</code> that in <code>RelativeLayout</code> get me this :</p>
  
  <p><strong>WARNING :</strong>  </p>
  
  <pre><code>This RelativeLayout layout or its LinearLayout parent is possibly useless
  </code></pre>
  
  <p><strong>XML FILE :</strong> </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout 
      android:id="@+id/heading"
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:orientation="vertical" &gt;
  
      &lt;RelativeLayout &lt;--- This RelativeLayout layout or its LinearLayout parent is possibly useless --&gt;
          android:id="@+id/dings"
          android:layout_width="match_parent"
          android:layout_height="wrap_content" 
          android:layout_margin="8dip"&gt;
  
          &lt;ProgressBar
              android:id="@+id/prgDownload"
              style="?android:attr/progressBarStyleHorizontal"
              android:layout_width="fill_parent"
              android:layout_height="32dip"/&gt;
  
          &lt;TextView
              android:id="@+id/txtDownload"
              android:layout_width="fill_parent"
              android:layout_height="32dip"
              android:gravity="center"
              android:text="..."
              android:textColor="#afafaf"
              android:textSize="18dip"
              android:textStyle="bold" /&gt;
      &lt;/RelativeLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Notice :My <code>LinearLayout</code>  is <code>vertical</code> but when i use it,it convert to <code>horizontal</code> in <code>Graphical Layout</code> .</p>