Created
January 12, 2016 13:03
-
-
Save jp1017/b05deb86d4166aa1e03b to your computer and use it in GitHub Desktop.
个人资料布局
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="#ffffff" | |
android:orientation="vertical" > | |
<FrameLayout | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
> | |
<LinearLayout | |
android:orientation="horizontal" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_gravity="top" | |
android:layout_marginTop="30dip"> | |
<FrameLayout | |
android:layout_width="60.0dip" | |
android:layout_height="60.0dip" | |
android:layout_marginLeft="15dip"> | |
<ImageView | |
android:id="@+id/userface" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
/> | |
<ImageView | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
/> | |
</FrameLayout> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="15dip" | |
android:layout_marginTop="10dip" | |
android:orientation="vertical" | |
android:gravity="center_horizontal" | |
> | |
<TextView | |
android:id="@+id/photo" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:textColor="#ffffff" | |
android:layout_marginTop="5dip" | |
android:textSize="20sp" | |
android:text="我的昵称"/> | |
</LinearLayout> | |
</LinearLayout> | |
<!-- 简介 --> | |
<LinearLayout | |
android:orientation="horizontal" | |
android:background="#22000000" | |
android:layout_width="fill_parent" | |
android:layout_height="30dip" | |
android:layout_gravity="bottom"> | |
<TextView | |
android:id="@+id/intor" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center_vertical" | |
android:layout_marginLeft="10.0dip" | |
android:textColor="#ffffff" | |
android:text="个人资料" /> | |
</LinearLayout> | |
</FrameLayout> | |
<LinearLayout | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="15dip" | |
android:layout_marginRight="15dip" | |
android:layout_marginTop="16dip" | |
android:gravity="center_vertical" | |
android:orientation="horizontal" | |
> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:textColor="#000000" | |
android:layout_marginLeft="15dip" | |
android:textSize="20sp" | |
android:text="性别:"/> | |
<TextView | |
android:id="@+id/sex1" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="25dip" | |
android:text="男" | |
android:textColor="#000000" | |
android:textSize="20sp" | |
/> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="15dip" | |
android:layout_marginRight="15dip" | |
android:layout_marginTop="16dip" | |
android:gravity="center_vertical" | |
android:orientation="horizontal" | |
> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:textColor="#000000" | |
android:layout_marginLeft="15dip" | |
android:textSize="20sp" | |
android:text="手机:"/> | |
<TextView | |
android:id="@+id/sex2" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="25dip" | |
android:text="123456" | |
android:textColor="#000000" | |
android:textSize="20sp" | |
/> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="15dip" | |
android:layout_marginRight="15dip" | |
android:layout_marginTop="16dip" | |
android:gravity="center_vertical" | |
android:orientation="horizontal" | |
> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:textColor="#000000" | |
android:layout_marginLeft="15dip" | |
android:textSize="20sp" | |
android:text="邮箱:"/> | |
<TextView | |
android:id="@+id/sex3" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="25dip" | |
android:text="464858540@" | |
android:textColor="#000000" | |
android:textSize="20sp" | |
/> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="15dip" | |
android:layout_marginRight="15dip" | |
android:layout_marginTop="16dip" | |
android:gravity="center_vertical" | |
android:orientation="horizontal" | |
> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:textColor="#000000" | |
android:layout_marginLeft="15dip" | |
android:textSize="20sp" | |
android:text="地址:"/> | |
<TextView | |
android:id="@+id/sex" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="25dip" | |
android:text="河南省南阳市" | |
android:textColor="#000000" | |
android:textSize="20sp" | |
/> | |
</LinearLayout> | |
<Button | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="15dip" | |
android:layout_marginRight="15dip" | |
android:layout_marginTop="16dip" | |
android:gravity="center_vertical|center_horizontal" | |
android:text="点击修改资料" | |
android:textSize="20sp" | |
> | |
</Button> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment