极限第一天

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>

<TextView
android:id="@+id/txtOne"
android:layout_width="385dp"
android:layout_height="60dp"
android:gravity="center"
android:text="个人中心"
android:textSize="40dp"
android:textColor="#EE6AA7"
android:background="#eeeeee"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#aaaaaa" />
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#888888" />
<TextView
android:layout_width="match_parent"
android:layout_height="20dp" />

<LinearLayout
android:orientation="vertical"
android:paddingLeft="40dp"
android:paddingRight="40dp"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
>

<ImageButton
android:scaleType="centerCrop"
android:layout_gravity="center_horizontal"
android:layout_width="100dp"
android:layout_height="100dp"
android:src="@drawable/touxiang" />

<TextView
android:text="晴天233"
android:textAlignment="center"
android:textSize="20dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>

<TextView
android:layout_width="match_parent"
android:layout_height="20dp"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="40dp">

<ImageView
android:src="@drawable/center"
android:layout_width="40dp"
android:layout_height="match_parent"/>

<TextView
android:layout_width="20dp"
android:layout_height="match_parent"/>
<TextView
android:gravity="center"
android:textSize="20dp"
android:text="个人中心"
android:layout_width="wrap_content"
android:layout_height="match_parent"/>
<TextView
android:layout_width="170dp"
android:layout_height="match_parent"/>
<ImageView

android:src="@drawable/go"
android:layout_width="30dp"
android:layout_height="match_parent"/>
</LinearLayout>

<TextView
android:layout_width="match_parent"
android:layout_height="20dp"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="40dp">

<ImageView
android:src="@drawable/shou"
android:layout_width="40dp"
android:layout_height="match_parent"/>

<TextView
android:layout_width="20dp"
android:layout_height="match_parent"/>
<TextView
android:gravity="center"
android:textSize="20dp"
android:text="我的收藏"
android:layout_width="wrap_content"
android:layout_height="match_parent"/>
<TextView
android:layout_width="170dp"
android:layout_height="match_parent"/>
<ImageView

android:src="@drawable/go"
android:layout_width="30dp"
android:layout_height="match_parent"/>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="20dp"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="40dp">

<ImageView
android:src="@drawable/like"
android:layout_width="40dp"
android:layout_height="match_parent"/>

<TextView
android:layout_width="20dp"
android:layout_height="match_parent"/>
<TextView
android:gravity="center"
android:textSize="20dp"
android:text="我的关注"
android:layout_width="wrap_content"
android:layout_height="match_parent"/>
<TextView
android:layout_width="170dp"
android:layout_height="match_parent"/>
<ImageView

android:src="@drawable/go"
android:layout_width="30dp"
android:layout_height="match_parent"/>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="20dp"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="40dp">

<ImageView
android:src="@drawable/hist"
android:layout_width="40dp"
android:layout_height="match_parent"/>

<TextView
android:layout_width="20dp"
android:layout_height="match_parent"/>
<TextView
android:gravity="center"
android:textSize="20dp"
android:text="浏览历史"
android:layout_width="wrap_content"
android:layout_height="match_parent"/>
<TextView
android:layout_width="170dp"
android:layout_height="match_parent"/>
<ImageView

android:src="@drawable/go"
android:layout_width="30dp"
android:layout_height="match_parent"/>
</LinearLayout>

<TextView
android:layout_width="match_parent"
android:layout_height="20dp"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="40dp">

<ImageView
android:src="@drawable/set"
android:layout_width="40dp"
android:layout_height="match_parent"/>

<TextView
android:layout_width="20dp"
android:layout_height="match_parent"/>
<TextView
android:gravity="center"
android:textSize="20dp"
android:text="应用设置"
android:layout_width="wrap_content"
android:layout_height="match_parent"/>
<TextView
android:layout_width="170dp"
android:layout_height="match_parent"/>
<ImageView

android:src="@drawable/go"
android:layout_width="30dp"
android:layout_height="match_parent"/>
</LinearLayout>

<TextView
android:layout_width="match_parent"
android:layout_height="20dp"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="40dp">

<ImageView
android:src="@drawable/kefu"
android:layout_width="40dp"
android:layout_height="match_parent"/>

<TextView
android:layout_width="20dp"
android:layout_height="match_parent"/>
<TextView
android:gravity="center"
android:textSize="20dp"
android:text="联系客服"
android:layout_width="wrap_content"
android:layout_height="match_parent"/>
<TextView
android:layout_width="170dp"
android:layout_height="match_parent"/>
<ImageView

android:src="@drawable/go"
android:layout_width="30dp"
android:layout_height="match_parent"/>
</LinearLayout>

</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#888888" />
<LinearLayout
android:orientation="horizontal"
android:layout_weight="4"
android:layout_width="match_parent"
android:background="#ffffff"
android:layout_height="fill_parent"
android:paddingRight="20dp"
android:paddingLeft="20dp"
>
<ImageView
android:layout_width="90dp"
android:layout_height="match_parent"
android:src="@drawable/shouye2" />

<ImageView
android:layout_width="90dp"
android:layout_height="match_parent"
android:src="@drawable/fujin2" />
<ImageView
android:layout_width="90dp"
android:layout_height="match_parent"
android:src="@drawable/tongzhi2" />
<ImageView
android:layout_width="90dp"
android:layout_height="match_parent"
android:src="@drawable/yonghu1" />

</LinearLayout>


</LinearLayout>

做出我所负责的xml,设计与其他同步,不会出现团队设计界面差异

原文地址:https://www.cnblogs.com/yyl141/p/12728601.html