title: Grid View button height and weight not fixed
body: <pre><code>&lt;GridLayout
      android:id="@+id/numerickeypad"
      android:layout_marginTop="10dp"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="center"
      android:columnCount="4"
      android:orientation="horizontal" &gt;
      &lt;Button
          android:id="@+id/dialogbox_buttonnumtwo"
          android:height="80dp"
          android:width="80dp"
          android:textSize="30sp"
          android:layout_column="1"
          android:layout_gravity="left|top"
          android:layout_row="0"
          android:textColor="@drawable/pressedtext"
          android:text="@string/two" /&gt;    
      &lt;Button
          android:id="@+id/dialogbox_buttonnumthree"
          android:height="80dp"
          android:width="80dp"
          android:textSize="30sp"
          android:layout_column="2"
          android:layout_gravity="left|top"
          android:layout_row="0"
          android:textColor="@drawable/pressedtext"
          android:text="@string/three" /&gt;  
      &lt;Button
          android:id="@+id/dialogbox_buttonnumfour"
          android:height="80dp"
          android:width="80dp"
          android:textSize="30sp"
          android:layout_column="0"
          android:layout_gravity="left|top"
          android:layout_row="1"
          android:textColor="@drawable/pressedtext"
          android:text="@string/four" /&gt;
      &lt;Button
          android:id="@+id/dialogbox_buttonnumfive"
          android:height="80dp"
          android:width="80dp"
          android:textSize="30sp"
          android:layout_column="1"
          android:layout_gravity="left|top"
          android:layout_row="1"
          android:textColor="@drawable/pressedtext"
          android:text="@string/five" /&gt;    
      &lt;Button
          android:id="@+id/dialogbox_buttonnumsix"
          android:height="80dp"
          android:width="80dp"
          android:textSize="30sp"
          android:layout_column="2"
          android:layout_gravity="left|top"
          android:layout_row="1"
          android:textColor="@drawable/pressedtext"
          android:text="@string/six" /&gt;
      &lt;Button
          android:id="@+id/dialogbox_buttonnumseven"
          android:height="80dp"
          android:width="80dp"
          android:textSize="80sp"
          android:layout_column="0"
          android:layout_gravity="left|top"
          android:layout_row="2"
          android:textColor="@drawable/pressedtext"
          android:text="@string/seven" /&gt;
      &lt;Button
          android:id="@+id/dialogbox_buttonnumeight"
          android:height="80dp"
          android:width="80dp"
          android:textSize="30sp"
          android:layout_column="1"
          android:layout_gravity="left|top"
          android:layout_row="2"
          android:textColor="@drawable/pressedtext"
          android:text="@string/eight" /&gt;    
      &lt;Button
          android:id="@+id/dialogbox_buttonnumnine"
          android:height="80dp"
          android:width="80dp"
          android:textSize="30sp"
          android:layout_gravity="left|top"
          android:layout_column="2"
          android:layout_row="2"
          android:textColor="@drawable/pressedtext"
          android:text="@string/nine" /&gt;
      &lt;Button
          android:id="@+id/dialogbox_buttonnumzero"
          android:height="80dp"
          android:width="80dp"
          android:textSize="30sp"
          android:layout_column="0"
          android:layout_gravity="left|top"
          android:layout_row="3"
          android:textColor="@drawable/pressedtext"
          android:text="@string/zero" /&gt;    
      &lt;Button
          android:id="@+id/dialogbox_buttonnumclear"
          android:height="80dp"
          android:textSize="30sp"
          android:layout_columnSpan="2"
          android:layout_gravity="fill_horizontal"
          android:layout_column="1"
          android:layout_row="3"
          android:textColor="@drawable/pressedtext"
          android:text="C" /&gt;
  
      &lt;Button
          android:id="@+id/dialogbox_buttonnumone"
          android:layout_column="0"
          android:layout_gravity="left|top"
          android:layout_row="0"
          android:height="80dp"
          android:text="@string/one"
          android:textColor="@drawable/pressedtext"
          android:textSize="30sp"
          android:width="80dp" /&gt;
  
  &lt;/GridLayout&gt;
  </code></pre>
  
  <p>this is my gridlayout view it works perfect on my screen but when i change orientation its not really good is there a way to set height and weight of button in grid view to other size not a fixed size so when there is a change in screen it will adjust</p>