|
|
@ -5,13 +5,14 @@ |
|
|
android:layout_height="match_parent" |
|
|
android:layout_height="match_parent" |
|
|
android:background="@color/greyf4f4f4" |
|
|
android:background="@color/greyf4f4f4" |
|
|
android:orientation="vertical"> |
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
|
|
|
|
<include layout="@layout/include_tool_bar"></include> |
|
|
<android.support.v7.widget.CardView |
|
|
<android.support.v7.widget.CardView |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
app:cardElevation="@dimen/cardview_compat_inset_shadow"> |
|
|
app:cardElevation="@dimen/cardview_compat_inset_shadow"> |
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
<LinearLayout |
|
|
|
|
|
android:id="@+id/ly_personPicture" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginTop="12dp" |
|
|
android:layout_marginTop="12dp" |
|
|
@ -31,8 +32,9 @@ |
|
|
|
|
|
|
|
|
<com.qhclh.ytzh.utils.widget.XCRoundImageView |
|
|
<com.qhclh.ytzh.utils.widget.XCRoundImageView |
|
|
android:id="@+id/imageView" |
|
|
android:id="@+id/imageView" |
|
|
android:layout_width="50dp" |
|
|
|
|
|
android:layout_height="50dp" |
|
|
|
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:scaleType="fitXY" |
|
|
android:layout_marginRight="20dp" |
|
|
android:layout_marginRight="20dp" |
|
|
android:src="@mipmap/ic_launcher" /> |
|
|
android:src="@mipmap/ic_launcher" /> |
|
|
<ImageView |
|
|
<ImageView |
|
|
@ -54,54 +56,97 @@ |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:orientation="vertical"> |
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
android:id="@+id/ly_phoneNumber" |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:orientation="horizontal"> |
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/tv_phoneNumber" |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
|
android:id="@+id/tv_phoneNumber_title" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_weight="1.5" |
|
|
android:layout_height="47dp" |
|
|
android:layout_height="47dp" |
|
|
android:drawablePadding="10dp" |
|
|
|
|
|
android:gravity="center_vertical" |
|
|
android:gravity="center_vertical" |
|
|
android:paddingLeft="12dp" |
|
|
android:paddingLeft="12dp" |
|
|
android:paddingRight="12dp" |
|
|
|
|
|
android:text="我的手机" |
|
|
android:text="我的手机" |
|
|
android:drawableRight="@drawable/more_icon" |
|
|
|
|
|
android:textSize="@dimen/text_size_18" /> |
|
|
android:textSize="@dimen/text_size_18" /> |
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
android:id="@+id/tv_phoneNumber" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_height="47dp" |
|
|
|
|
|
android:layout_gravity="right" |
|
|
|
|
|
android:layout_weight="3" |
|
|
|
|
|
android:drawablePadding="10dp" |
|
|
|
|
|
android:drawableRight="@drawable/more_icon" |
|
|
|
|
|
android:gravity="right|center_vertical" |
|
|
|
|
|
android:paddingLeft="12dp" |
|
|
|
|
|
android:paddingRight="12dp" |
|
|
|
|
|
android:textSize="@dimen/text_size_18" /> |
|
|
|
|
|
</LinearLayout> |
|
|
<View |
|
|
<View |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="2px" |
|
|
android:layout_height="2px" |
|
|
android:background="#dbdbdb" /> |
|
|
android:background="#dbdbdb" /> |
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
android:id="@+id/ly_sex" |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
<TextView |
|
|
|
|
|
android:id="@+id/tv_sex_title" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_weight="1.5" |
|
|
|
|
|
android:layout_height="47dp" |
|
|
|
|
|
android:gravity="center_vertical" |
|
|
|
|
|
|
|
|
|
|
|
android:paddingLeft="12dp" |
|
|
|
|
|
android:text="性别" |
|
|
|
|
|
android:textSize="@dimen/text_size_18" /> |
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/tv_sex" |
|
|
android:id="@+id/tv_sex" |
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_weight="3" |
|
|
android:layout_height="47dp" |
|
|
android:layout_height="47dp" |
|
|
android:drawablePadding="10dp" |
|
|
android:drawablePadding="10dp" |
|
|
android:gravity="center_vertical" |
|
|
|
|
|
|
|
|
android:layout_gravity="right" |
|
|
|
|
|
android:gravity="right|center_vertical" |
|
|
android:drawableRight="@drawable/more_icon" |
|
|
android:drawableRight="@drawable/more_icon" |
|
|
|
|
|
|
|
|
android:paddingLeft="12dp" |
|
|
android:paddingLeft="12dp" |
|
|
android:paddingRight="12dp" |
|
|
android:paddingRight="12dp" |
|
|
android:text="性别" |
|
|
|
|
|
android:textSize="@dimen/text_size_18" /> |
|
|
android:textSize="@dimen/text_size_18" /> |
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
<View |
|
|
<View |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="2px" |
|
|
android:layout_height="2px" |
|
|
android:background="#dbdbdb" /> |
|
|
android:background="#dbdbdb" /> |
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
android:id="@+id/ly_birthday" |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:orientation="horizontal"> |
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/tv_birthday" |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
|
android:id="@+id/tv_birthday_title" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_weight="1.5" |
|
|
android:layout_height="47dp" |
|
|
android:layout_height="47dp" |
|
|
android:drawablePadding="10dp" |
|
|
|
|
|
android:drawableRight="@drawable/more_icon" |
|
|
|
|
|
|
|
|
|
|
|
android:gravity="center_vertical" |
|
|
android:gravity="center_vertical" |
|
|
android:paddingLeft="12dp" |
|
|
android:paddingLeft="12dp" |
|
|
android:paddingRight="12dp" |
|
|
android:paddingRight="12dp" |
|
|
android:text="生日" |
|
|
android:text="生日" |
|
|
android:textSize="@dimen/text_size_18" /> |
|
|
android:textSize="@dimen/text_size_18" /> |
|
|
|
|
|
<TextView |
|
|
|
|
|
android:id="@+id/tv_birthday" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_weight="3" |
|
|
|
|
|
android:layout_height="47dp" |
|
|
|
|
|
android:drawablePadding="10dp" |
|
|
|
|
|
android:drawableRight="@drawable/more_icon" |
|
|
|
|
|
android:gravity="right|center_vertical" |
|
|
|
|
|
android:paddingLeft="12dp" |
|
|
|
|
|
android:paddingRight="12dp" |
|
|
|
|
|
android:textSize="@dimen/text_size_18" /> |
|
|
|
|
|
</LinearLayout> |
|
|
</LinearLayout> |
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
</android.support.v7.widget.CardView> |
|
|
</android.support.v7.widget.CardView> |
|
|
|