<?xml version="1.0" encoding="utf-8"?> 
<GridLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:columnCount="4"
    android:rowCount="4" > 
    <TextView
        android:text="1,1" /> 
    <TextView
        android:text="1,2" /> 
    <TextView
        android:text="1,3" /> 
    <TextView
        android:text="1,4" /> 
    <TextView
        android:text="2,1" /> 
    <TextView
        android:text="2,2" /> 
    <TextView
        android:text="2,3" /> 
    <TextView
        android:text="2,4" /> 
    <TextView
        android:text="3,1" /> 
    <TextView
        android:text="3,2" /> 
    <TextView
        android:text="3,3 longer" /> 
    <TextView
        android:text="3,4" /> 
    <TextView
        android:text="4,1" /> 
    <TextView
        android:text="4,2" /> 
    <TextView
        android:text="4,3" /> 
    <TextView
        android:text="4,4" /> 
</GridLayout>

 

posted on 2014-04-04 16:31  青年程序猿  阅读(202)  评论(0编辑  收藏  举报