775 lines
31 KiB
XML
775 lines
31 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#F7F7F7"
|
|
android:orientation="vertical">
|
|
|
|
<ScrollView
|
|
android:layout_weight="1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<include layout="@layout/view_title_not_color" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/btn_avatar"
|
|
style="@style/edit_profile_group_not_color"
|
|
android:onClick="editProfileClick">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:drawablePadding="10dp"
|
|
android:text="@string/edit_profile_avatar"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="14sp"
|
|
app:drawableLeftCompat="@mipmap/ic_edit_avatar" />
|
|
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/avatar"
|
|
android:layout_width="46dp"
|
|
android:layout_height="46dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="25dp"
|
|
android:scaleType="centerCrop"
|
|
app:riv_oval="true" />
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="18dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:src="@mipmap/icon_arrow_right" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
style="@style/line2"
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_marginRight="15dp"
|
|
android:visibility="gone" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/btn_name"
|
|
style="@style/edit_profile_group_not_color"
|
|
android:onClick="editProfileClick">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:drawablePadding="10dp"
|
|
android:text="@string/edit_profile_nickname"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="14sp"
|
|
app:drawableLeftCompat="@mipmap/ic_edit_name" />
|
|
|
|
<TextView
|
|
android:id="@+id/name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="70dp"
|
|
android:layout_marginRight="25dp"
|
|
android:ellipsize="end"
|
|
android:gravity="right"
|
|
android:singleLine="true"
|
|
android:textColor="#353535"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="18dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:src="@mipmap/icon_arrow_right" />
|
|
</RelativeLayout>
|
|
|
|
|
|
<View
|
|
style="@style/line2"
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_marginRight="15dp"
|
|
android:visibility="gone" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/btn_sign"
|
|
style="@style/edit_profile_group_not_color"
|
|
android:onClick="editProfileClick">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:drawablePadding="10dp"
|
|
android:text="@string/edit_profile_sign"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="14sp"
|
|
app:drawableLeftCompat="@mipmap/ic_edit_sign" />
|
|
|
|
<TextView
|
|
android:id="@+id/sign"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="70dp"
|
|
android:layout_marginRight="25dp"
|
|
android:ellipsize="end"
|
|
android:gravity="right"
|
|
android:singleLine="true"
|
|
android:textColor="#353535"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="18dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:src="@mipmap/icon_arrow_right" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
style="@style/line2"
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_marginRight="15dp"
|
|
android:visibility="gone" />
|
|
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/btn_birthday"
|
|
style="@style/edit_profile_group_not_color"
|
|
android:onClick="editProfileClick">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:drawablePadding="10dp"
|
|
android:text="@string/edit_profile_birthday"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="14sp"
|
|
app:drawableLeftCompat="@mipmap/ic_edit_birthday" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="30dp"
|
|
android:layout_marginTop="10dp"
|
|
android:text="*"
|
|
android:textColor="#FF5730"
|
|
android:textSize="9sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/birthday"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="70dp"
|
|
android:layout_marginRight="25dp"
|
|
android:ellipsize="end"
|
|
android:gravity="right"
|
|
android:singleLine="true"
|
|
android:textColor="#353535"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="18dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:src="@mipmap/icon_arrow_right" />
|
|
</RelativeLayout>
|
|
|
|
|
|
<View
|
|
style="@style/line2"
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_marginRight="15dp"
|
|
android:visibility="gone" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/btn_sex"
|
|
style="@style/edit_profile_group_not_color"
|
|
android:onClick="editProfileClick"
|
|
android:visibility="visible">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:drawablePadding="10dp"
|
|
android:text="@string/edit_profile_sex"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="14sp"
|
|
app:drawableLeftCompat="@mipmap/ic_edit_sex" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="30dp"
|
|
android:layout_marginTop="10dp"
|
|
android:text="*"
|
|
android:textColor="#FF5730"
|
|
android:textSize="9sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/sex"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="25dp"
|
|
android:textColor="#353535"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="18dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:src="@mipmap/icon_arrow_right" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<View
|
|
style="@style/line2"
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_marginRight="15dp"
|
|
android:visibility="gone" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/btn_city"
|
|
style="@style/edit_profile_group_not_color"
|
|
android:onClick="editProfileClick">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:drawablePadding="10dp"
|
|
android:text="@string/edit_profile_city"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="14sp"
|
|
app:drawableLeftCompat="@mipmap/ic_edit_city" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="28dp"
|
|
android:layout_marginTop="10dp"
|
|
android:text="*"
|
|
android:textColor="#FF5730"
|
|
android:textSize="9sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/city"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="70dp"
|
|
android:layout_marginRight="25dp"
|
|
android:ellipsize="end"
|
|
android:gravity="right"
|
|
android:singleLine="true"
|
|
android:textColor="#353535"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="18dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:src="@mipmap/icon_arrow_right" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
style="@style/line2"
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_marginRight="15dp"
|
|
android:visibility="gone" />
|
|
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rt_bind_phone"
|
|
style="@style/edit_profile_group_not_color"
|
|
android:onClick="editProfileClick">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:drawablePadding="10dp"
|
|
android:text="@string/bind_phone"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="14sp"
|
|
app:drawableLeftCompat="@mipmap/ic_edit_phone" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="28dp"
|
|
android:layout_marginTop="10dp"
|
|
android:text="*"
|
|
android:textColor="#FF5730"
|
|
android:textSize="9sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_bind_phone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="70dp"
|
|
android:layout_marginRight="25dp"
|
|
android:ellipsize="end"
|
|
android:gravity="right"
|
|
android:hint="@string/bind_phone_text"
|
|
android:singleLine="true"
|
|
android:textColor="#353535"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="18dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:src="@mipmap/icon_arrow_right" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
style="@style/line2"
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_marginRight="15dp"
|
|
android:visibility="gone" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/btn_occupation"
|
|
style="@style/edit_profile_group_not_color"
|
|
android:onClick="editProfileClick">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:drawablePadding="10dp"
|
|
android:text="@string/edit_profile_occupation"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="14sp"
|
|
app:drawableLeftCompat="@mipmap/ic_edit_occupation" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="44dp"
|
|
android:layout_marginTop="10dp"
|
|
android:text="*"
|
|
android:textColor="#FF5730"
|
|
android:textSize="9sp"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/occupation"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="70dp"
|
|
android:layout_marginRight="25dp"
|
|
android:ellipsize="end"
|
|
android:gravity="right"
|
|
android:singleLine="true"
|
|
android:textColor="#353535"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="18dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:src="@mipmap/icon_arrow_right" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
style="@style/line2"
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_marginRight="15dp"
|
|
android:visibility="gone" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/btn_height"
|
|
style="@style/edit_profile_group_not_color"
|
|
android:onClick="editProfileClick">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:drawablePadding="10dp"
|
|
android:text="@string/edit_profile_height"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="14sp"
|
|
app:drawableLeftCompat="@mipmap/ic_edit_height" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="44dp"
|
|
android:layout_marginTop="10dp"
|
|
android:text="*"
|
|
android:textColor="#FF5730"
|
|
android:textSize="9sp"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/height"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="70dp"
|
|
android:layout_marginRight="25dp"
|
|
android:ellipsize="end"
|
|
android:gravity="right"
|
|
android:singleLine="true"
|
|
android:textColor="#353535"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="18dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:src="@mipmap/icon_arrow_right" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
style="@style/line2"
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_marginRight="15dp"
|
|
android:visibility="gone" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/btn_hobby"
|
|
style="@style/edit_profile_group_not_color"
|
|
android:onClick="editProfileClick">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:drawablePadding="10dp"
|
|
android:text="@string/edit_profile_hobby"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="14sp"
|
|
app:drawableLeftCompat="@mipmap/ic_edit_hobby" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="44dp"
|
|
android:layout_marginTop="10dp"
|
|
android:text="*"
|
|
android:textColor="#FF5730"
|
|
android:textSize="9sp"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/hobby"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginStart="90dp"
|
|
android:layout_marginEnd="25dp"
|
|
android:ellipsize="end"
|
|
android:gravity="end"
|
|
android:singleLine="true"
|
|
android:textColor="#353535"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="18dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:src="@mipmap/icon_arrow_right" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
style="@style/line2"
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_marginRight="15dp"
|
|
android:visibility="gone" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="213.5dp"
|
|
android:layout_gravity="bottom"
|
|
android:background="@mipmap/bg_gift_completely"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/complete_information_top"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="14.5dp"
|
|
android:layout_marginTop="24.5dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/complete_information"
|
|
android:textColor="#333333"
|
|
android:textSize="15sp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="7dp"
|
|
android:text="@string/complete_information_consumable"
|
|
android:textColor="#999999"
|
|
android:textSize="13sp" />
|
|
</LinearLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/complete_information_top2"
|
|
android:layout_width="230dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/complete_information_top"
|
|
android:layout_marginStart="14.5dp"
|
|
android:layout_marginTop="10.9dp">
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="4dp"
|
|
android:layout_gravity="center_vertical">
|
|
|
|
<View
|
|
android:id="@+id/view_progress1"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="7dp"
|
|
android:layout_marginEnd="1dp"
|
|
android:layout_weight="1"
|
|
android:background="#FFE5D0" />
|
|
|
|
<View
|
|
android:id="@+id/view_progress2"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginEnd="10dp"
|
|
android:layout_weight="1"
|
|
android:background="#FFE5D0" />
|
|
|
|
<View
|
|
android:id="@+id/view_progress3"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginEnd="12dp"
|
|
android:layout_weight="1"
|
|
android:background="#FFE5D0" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/complete_information"
|
|
android:layout_width="15.5dp"
|
|
android:layout_height="15.5dp"
|
|
android:background="@mipmap/bg_complete_information_progress2">
|
|
|
|
<TextView
|
|
android:id="@+id/information"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="1"
|
|
android:textColor="@color/white"
|
|
android:textSize="7.99sp" />
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/complete_information1"
|
|
android:layout_width="15.5dp"
|
|
android:layout_height="15.5dp"
|
|
android:layout_marginStart="70dp"
|
|
android:background="@mipmap/bg_complete_information_progress">
|
|
|
|
<TextView
|
|
android:id="@+id/information1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="2"
|
|
android:textColor="@color/white"
|
|
android:textSize="7.99sp" />
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/complete_information2"
|
|
android:layout_width="15.5dp"
|
|
android:layout_height="15.5dp"
|
|
android:layout_marginStart="140dp"
|
|
android:background="@mipmap/bg_complete_information_progress">
|
|
|
|
<TextView
|
|
android:id="@+id/information2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="3"
|
|
android:textColor="@color/white"
|
|
android:textSize="7.99sp" />
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/complete_information3"
|
|
android:layout_width="15.5dp"
|
|
android:layout_height="15.5dp"
|
|
android:layout_marginStart="215dp"
|
|
android:background="@mipmap/bg_complete_information_progress">
|
|
|
|
<TextView
|
|
android:id="@+id/information3"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="4"
|
|
android:textColor="@color/white"
|
|
android:textSize="7.99sp" />
|
|
</FrameLayout>
|
|
</FrameLayout>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="15dp"
|
|
android:layout_marginTop="81.5dp"
|
|
android:layout_marginEnd="15dp"
|
|
android:layout_marginBottom="20dp"
|
|
app:cardBackgroundColor="#FDF3EB"
|
|
app:cardCornerRadius="8dp"
|
|
app:cardElevation="0dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
<!--头像 金豆 勋章-->
|
|
<ImageView
|
|
android:layout_width="49dp"
|
|
android:layout_height="49dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="16dp"
|
|
android:src="@mipmap/icon_profile_photo" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="7.5dp"
|
|
android:gravity="center"
|
|
android:text="@string/love_powder"
|
|
android:textColor="#C7683C"
|
|
android:textSize="10sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="49dp"
|
|
android:layout_height="49dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="16dp"
|
|
android:src="@mipmap/icon_golden_bean" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="7.5dp"
|
|
android:gravity="center"
|
|
android:text="@string/golden_beans_128"
|
|
android:textColor="#C7683C"
|
|
android:textSize="10sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="49dp"
|
|
android:layout_height="49dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="16dp"
|
|
android:src="@mipmap/icon_medal" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="7.5dp"
|
|
android:gravity="center"
|
|
android:text="@string/love_powder_medal"
|
|
android:textColor="#C7683C"
|
|
android:textSize="10sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<TextView
|
|
android:id="@+id/submit"
|
|
android:layout_width="64dp"
|
|
android:layout_height="25.5dp"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_marginTop="32dp"
|
|
android:layout_marginEnd="8.5dp"
|
|
android:background="@mipmap/bg_submit"
|
|
android:gravity="center"
|
|
android:text="@string/to_complete"
|
|
android:textColor="@color/white"
|
|
android:textSize="12.44sp" />
|
|
|
|
</RelativeLayout>
|
|
</LinearLayout> |