蓝墨云

代码部分::

<?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>

运行效果

在这里插入图片描述

  • 2
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值