代码部分::
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android=“http://schemas.android.com/apk/res/android”
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#EDEDED"
android:orientation="vertical"
tools:context="com.example.administrator.nest.MyActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="#ffffff">
<ImageView
android:layout_width="80dp"
android:layout_height="60dp"
android:src="@mipmap/timg" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/name"
android:textSize="20sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<View
android:layout_width="wrap_content"
android:layout_height="1dp"
android:background="#aaaaaa" />
<!--1开始-->
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<LinearLayout
android:layout_width="95dp"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="#ffffff">
<TextView
android:layout_width="95dp"
android:layout_height="20dp"
android:layout_gravity="bottom"
android:layout_marginLeft="28dp"
android:layout_marginTop="10dp"
android:text="@string/tv_number01"
android:textColor="#00EE00"
android:textSize="14sp" />
<TextView
android:layout_width="95dp"
android:layout_height="30dp"
android:layout_gravity="top"
android:layout_marginLeft="18dp"
android:text="@string/tv_values"
android:textColor="#A6A6A6"
android:textSize="18sp" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<View
android:layout_width="1dp"
android:layout_height="60dp"
android:background="#000000" />
</LinearLayout>
<!--第二次开始-->
<LinearLayout
android:layout_width="95dp"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="#ffffff">
<TextView
android:layout_width="95dp"
android:layout_height="20dp"
android:layout_gravity="bottom"
android:layout_marginLeft="28dp"
android:layout_marginTop="10dp"
android:text="@string/tv_number01"
android:textColor="#00EE00"
android:textSize="14sp" />
<TextView
android:layout_width="95dp"
android:layout_height="30dp"
android:layout_gravity="top"
android:layout_marginLeft="18dp"
android:text="@string/tv_values"
android:textColor="#A6A6A6"
android:textSize="18sp" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<View
android:layout_width="1dp"
android:layout_height="60dp"
android:background="#000000" />
</LinearLayout>
<!--2次end 3次begin-->
<LinearLayout
android:layout_width="95dp"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="#ffffff">
<TextView
android:layout_width="95dp"
android:layout_height="20dp"
android:layout_gravity="bottom"
android:layout_marginLeft="28dp"
android:layout_marginTop="10dp"
android:text="@string/tv_number01"
android:textColor="#00EE00"
android:textSize="14sp" />
<TextView
android:layout_width="95dp"
android:layout_height="30dp"
android:layout_gravity="top"
android:layout_marginLeft="18dp"
android:text="@string/tv_values"
android:textColor="#A6A6A6"
android:textSize="18sp" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<View
android:layout_width="1dp"
android:layout_height="60dp"
android:background="#000000" />
</LinearLayout>
<!--3end 4begin-->
<LinearLayout
android:layout_width="95dp"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="#ffffff">
<TextView
android:layout_width="95dp"
android:layout_height="20dp"
android:layout_gravity="bottom"
android:layout_marginLeft="28dp"
android:layout_marginTop="10dp"
android:text="@string/tv_number01"
android:textColor="#00EE00"
android:textSize="14sp" />
<TextView
android:layout_width="95dp"
android:layout_height="30dp"
android:layout_gravity="top"
android:layout_marginLeft="18dp"
android:text="@string/tv_values"
android:textColor="#A6A6A6"
android:textSize="18sp" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<View
android:layout_width="1dp"
android:layout_height="60dp"
android:background="#000000" />
</LinearLayout>
<!--end-->
</LinearLayout>
<View
android:layout_width="wrap_content"
android:layout_height="1dp"
android:background="#aaaaaa" />
</LinearLayout>
<View
android:layout_width="wrap_content"
android:layout_height="1dp"
android:background="#aaaaaa"
android:layout_marginTop="20dp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="0dp"
android:background="#ffffff">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:text="@string/myset"
android:textSize="16sp" />
</LinearLayout>
<View
android:layout_width="wrap_content"
android:layout_height="1dp"
android:background="#aaaaaa" />
<!--中间4格结束-->
<!--我的空间-->
<View
android:layout_width="wrap_content"
android:layout_height="1dp"
android:background="#aaaaaa"
android:layout_marginTop="15dp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="0dp"
android:background="#ffffff">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/mykongjian"
android:layout_marginLeft="10dp"
android:layout_marginTop="15dp"
android:textSize="16sp"/>
</LinearLayout>
<View
android:layout_width="wrap_content"
android:layout_height="1dp"
android:background="#aaaaaa" />
<!--我的收藏-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="#ffffff">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/myshouchang"
android:layout_marginLeft="10dp"
android:layout_marginTop="15dp"
android:textSize="16sp"/>
</LinearLayout>
<View
android:layout_width="wrap_content"
android:layout_height="1dp"
android:background="#aaaaaa" />
<!--收到的卡片,心意-->
<!--我的收藏-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="#ffffff">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/mycard"
android:layout_marginLeft="10dp"
android:layout_marginTop="15dp"
android:textSize="16sp"/>
</LinearLayout>
<View
android:layout_width="wrap_content"
android:layout_height="1dp"
android:background="#aaaaaa" />
<!--分享给朋友-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="20dp"
android:background="#ffffff"
android:orientation="horizontal">
<TextView
android:layout_width="200dp"
android:layout_height="wrap_content"
android:text="@string/myfriend"
android:layout_marginLeft="10dp"
android:layout_marginTop="15dp"
android:textSize="16sp"/>
<TextView
android:layout_width="200dp"
android:layout_height="wrap_content"
android:text="@string/myfriend2"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:textSize="16sp"/>
</LinearLayout>
<View
android:layout_width="wrap_content"
android:layout_height="1dp"
android:background="#aaaaaa" />
<!--设置-->
<View
android:layout_width="wrap_content"
android:layout_height="1dp"
android:background="#aaaaaa" />
<!--最后一栏-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:orientation="vertical"
android:background="#ffffff"
android:layout_marginTop="50dp"
android:layout_gravity="bottom">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp">
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@mipmap/one"
android:layout_marginLeft="60dp"/>
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@mipmap/two"
android:layout_marginLeft="60dp"/>
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@mipmap/three"
android:layout_marginLeft="60dp"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="20dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/mybanke"
android:layout_marginLeft="70dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/myfaxian"
android:layout_marginLeft="80dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/my"
android:layout_marginLeft="85dp"/>
</LinearLayout>
</LinearLayout>
运行效果