title: This TableLayout layout or its LinearLayout parent is useless how to resolve from this warning
body: <p>I have tablelayout inside linearlayout but it shows me this warning message<br>
   This TableLayout layout or its LinearLayout parent is useless 
   how to overcome from this warning  can ane help me .
   Thanks in advance   </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" &gt;
  
            &lt;TableLayout&gt;
  
              &lt;TableRow
                  android:id="@+id/tableRow3"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_gravity="center" &gt;
  
                  &lt;TextView
                      android:id="@+id/txtPass"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_gravity="center_vertical|center_horizontal"
                      android:text="Password"
                      android:textSize="18sp"
                      android:width="100dp" /&gt;
  
                  &lt;EditText
                      android:id="@+id/edPass"
                      android:layout_width="200dp"
                      android:layout_height="wrap_content"
                      android:inputType="textPassword"
                      android:password="true" &gt;
  
                      &lt;requestFocus /&gt;
                  &lt;/EditText&gt;
                &lt;/TableRow&gt;
            &lt;/TableLayout&gt;
  
        &lt;/LinearLayout&gt;
  </code></pre>