Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <android.support.v7.widget.GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
      3     xmlns:app="http://schemas.android.com/apk/res-auto"
      4     android:layout_width="match_parent"
      5     android:layout_height="match_parent"
      6     app:columnCount="6" >
      7 
      8     <Button
      9         android:id="@+id/button1"
     10         app:layout_column="1"
     11         app:layout_columnSpan="2"
     12         app:layout_gravity="left"
     13         app:layout_row="1"
     14         android:text="Button" />
     15 
     16     <CheckBox
     17         android:id="@+id/checkBox1"
     18         app:layout_column="4"
     19         app:layout_gravity="left"
     20         app:layout_row="2"
     21         android:text="CheckBox" />
     22 
     23     <Button
     24         android:id="@+id/button2"
     25         app:layout_column="5"
     26         app:layout_gravity="left"
     27         app:layout_row="3"
     28         android:text="Button" />
     29 
     30     <android.support.v7.widget.Space
     31         android:layout_width="21dp"
     32         android:layout_height="1dp"
     33         app:layout_column="0"
     34         app:layout_gravity="fill_horizontal"
     35         app:layout_row="0" />
     36 
     37     <android.support.v7.widget.Space
     38         android:layout_width="1dp"
     39         android:layout_height="21dp"
     40         app:layout_column="0"
     41         app:layout_gravity="fill_horizontal"
     42         app:layout_row="0" />
     43 
     44     <android.support.v7.widget.Space
     45         android:layout_width="10dp"
     46         android:layout_height="1dp"
     47         app:layout_column="3"
     48         app:layout_gravity="fill_horizontal"
     49         app:layout_row="0" />
     50 
     51     <android.support.v7.widget.Space
     52         android:layout_width="122dp"
     53         android:layout_height="1dp"
     54         app:layout_column="4"
     55         app:layout_gravity="fill_horizontal"
     56         app:layout_row="0" />
     57 
     58     <android.support.v7.widget.Space
     59         android:layout_width="1dp"
     60         android:layout_height="168dp"
     61         app:layout_column="0"
     62         app:layout_gravity="fill_horizontal"
     63         app:layout_row="1" />
     64 
     65     <android.support.v7.widget.Space
     66         android:layout_width="1dp"
     67         android:layout_height="168dp"
     68         app:layout_column="0"
     69         app:layout_gravity="fill_horizontal"
     70         app:layout_row="2" />
     71 
     72 </android.support.v7.widget.GridLayout>