title: How to use xml attributes from higher api on lower api?
body: <p>I want to use xml attributes from higher api on lower android system. How to do that without changing much? like <code>android:layout_columnWeight</code> and <code>android:layout_rowWeigh</code>.
  Here is my xml code:</p>
  
  <pre><code>&lt;GridLayout
  android:layout_width="match_parent"
  android:layout_height="match_parent"&gt;
  
  &lt;Button
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_column="0"
      android:layout_row="0"
      android:layout_gravity="fill"
      android:layout_columnWeight="1"
      android:layout_rowWeight="1"
      android:text="Hello"
      android:id="@+id/hello"
      android:onClick="buttonTapped"/&gt;
  
  &lt;Button
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_column="1"
      android:layout_row="0"
      android:layout_gravity="fill"
      android:layout_columnWeight="1"
      android:layout_rowWeight="1"
      android:text="How are you"
      android:id="@+id/howareyou"
      android:onClick="buttonTapped"/&gt;
  &lt;Button
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_column="0"
      android:layout_row="1"
      android:layout_gravity="fill"
      android:layout_columnWeight="1"
      android:layout_rowWeight="1"
      android:text="good evening"
      android:id="@+id/goodevening"
      android:onClick="buttonTapped"/&gt;
  &lt;Button
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_column="1"
      android:layout_row="1"
      android:layout_gravity="fill"
      android:layout_columnWeight="1"
      android:layout_rowWeight="1"
      android:text="please"
      android:id="@+id/please"
      android:onClick="buttonTapped"/&gt;
  &lt;Button
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_column="0"
      android:layout_row="2"
      android:layout_gravity="fill"
      android:layout_columnWeight="1"
      android:layout_rowWeight="1"
      android:text="my name is"
      android:id="@+id/mynameis"
      android:onClick="buttonTapped"/&gt;
  &lt;Button
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_column="1"
      android:layout_row="2"
      android:layout_gravity="fill"
      android:layout_columnWeight="1"
      android:layout_rowWeight="1"
      android:text="do you &amp;#10;speak english"
      android:id="@+id/doyouspeakenglish"
      android:onClick="buttonTapped"/&gt;
  &lt;Button
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_column="0"
      android:layout_row="3"
      android:layout_gravity="fill"
      android:layout_columnWeight="1"
      android:layout_rowWeight="1"
      android:text="welcome"
      android:id="@+id/welcome"
      android:onClick="buttonTapped"/&gt;
  &lt;Button
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_column="1"
      android:layout_row="3"
      android:layout_gravity="fill"
      android:layout_columnWeight="1"
      android:layout_rowWeight="1"
      android:text="i live in"
      android:id="@+id/ilivein"
      android:onClick="buttonTapped"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>please don't say to use another method to do that, gridLayout is very useful but I can't use on lower android systems.</p>