|
|
|
@ -95,7 +95,7 @@
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="220dp"
|
|
|
|
|
android:background="@drawable/jianbianse1">
|
|
|
|
|
android:background="@drawable/jianbianse2">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/set_image"
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
@ -110,192 +110,308 @@
|
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
|
android:src="@drawable/voiceprint"
|
|
|
|
|
android:layout_marginTop="20dp"/>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/person_sex"
|
|
|
|
|
android:layout_width="24dp"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:layout_marginTop="75dp"
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:layout_width="140dp"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_marginRight="-20dp"
|
|
|
|
|
android:layout_marginTop="70dp"
|
|
|
|
|
app:cardCornerRadius="20dp"
|
|
|
|
|
app:cardBackgroundColor="#9933FA"
|
|
|
|
|
>
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="活动来了!"
|
|
|
|
|
android:textColor="#C76114"
|
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
|
/>
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
android:src="@drawable/girl"/>
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
<!-- 头像-->
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
|
android:id="@+id/iv_avatar"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="80dp"
|
|
|
|
|
android:elevation="20dp"
|
|
|
|
|
app:civ_border_width="1dp"
|
|
|
|
|
app:civ_border_color="#ffffff"
|
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
|
android:layout_marginTop="75dp"
|
|
|
|
|
android:src="@drawable/draw7"/>
|
|
|
|
|
|
|
|
|
|
<!-- 用户名-->
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/person_username"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:layout_alignLeft="@+id/iv_avatar"
|
|
|
|
|
android:layout_marginLeft="84dp"
|
|
|
|
|
android:layout_marginTop="80dp"
|
|
|
|
|
android:elevation="5dp"
|
|
|
|
|
android:text="未登录"
|
|
|
|
|
android:textColor="#ffffff"
|
|
|
|
|
android:textSize="24dp"
|
|
|
|
|
android:textStyle="bold"/>
|
|
|
|
|
<!-- 等级-->
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:layout_width="30dp"
|
|
|
|
|
android:layout_height="20dp"
|
|
|
|
|
android:layout_below="@id/person_username"
|
|
|
|
|
android:layout_alignLeft="@+id/iv_avatar"
|
|
|
|
|
android:layout_marginLeft="89dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
app:cardCornerRadius="10dp"
|
|
|
|
|
app:cardBackgroundColor="#A0522D">
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:id="@+id/person_rank"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:text="16"
|
|
|
|
|
android:textColor="#ffffff"
|
|
|
|
|
android:textSize="12dp"/>
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
<!-- 性别-->
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/person_sex"
|
|
|
|
|
android:layout_width="20dp"
|
|
|
|
|
android:layout_height="20dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:elevation="10dp"
|
|
|
|
|
android:layout_below="@+id/person_username"
|
|
|
|
|
android:layout_alignLeft="@+id/iv_avatar"
|
|
|
|
|
android:layout_marginLeft="124dp"
|
|
|
|
|
android:src="@drawable/girl"/>
|
|
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:id="@+id/personal_head_card"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="160dp"
|
|
|
|
|
android:layout_width="380dp"
|
|
|
|
|
android:layout_height="140dp"
|
|
|
|
|
app:cardElevation="20dp"
|
|
|
|
|
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:layout_marginLeft="19dp"
|
|
|
|
|
android:layout_marginRight="19dp"
|
|
|
|
|
app:cardCornerRadius="10dp"
|
|
|
|
|
|
|
|
|
|
android:layout_below="@id/set_area"
|
|
|
|
|
android:layout_marginTop="-80dp"
|
|
|
|
|
android:layout_marginTop="-60dp"
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
<!-- 用户名-->
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/person_username"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:layout_marginTop="45dp"
|
|
|
|
|
android:text="未登录"
|
|
|
|
|
android:textSize="24dp"
|
|
|
|
|
android:textStyle="bold"/>
|
|
|
|
|
<!-- 我的收藏-->
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:id="@+id/person_collection"
|
|
|
|
|
android:layout_width="135dp"
|
|
|
|
|
android:layout_height="70dp"
|
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
|
app:cardElevation="8dp"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
app:cardCornerRadius="10dp"
|
|
|
|
|
>
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@drawable/jianbianse5"
|
|
|
|
|
>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="80dp"
|
|
|
|
|
android:src="@drawable/person_collection"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:layout_marginLeft="-7dp"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="我的收藏"
|
|
|
|
|
android:textSize="15dp"
|
|
|
|
|
android:textColor="#BC8F8F"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:layout_marginLeft="60dp"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="30dp"
|
|
|
|
|
android:textSize="13dp"
|
|
|
|
|
android:text="0"
|
|
|
|
|
android:textColor="#BC8F8F"
|
|
|
|
|
android:layout_marginLeft="66dp"/>
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:id="@+id/person_money"
|
|
|
|
|
android:layout_width="135dp"
|
|
|
|
|
android:layout_height="70dp"
|
|
|
|
|
android:layout_alignLeft="@+id/person_collection"
|
|
|
|
|
android:layout_marginLeft="150dp"
|
|
|
|
|
app:cardElevation="8dp"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
app:cardCornerRadius="10dp">
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@drawable/jianbianse20">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="54dp"
|
|
|
|
|
android:layout_height="54dp"
|
|
|
|
|
android:src="@drawable/person_money"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:layout_marginLeft="1dp"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="余额"
|
|
|
|
|
android:layout_marginLeft="60dp"
|
|
|
|
|
android:layout_marginTop="13dp"
|
|
|
|
|
android:textColor="#03A89E"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="123.44"
|
|
|
|
|
android:layout_marginLeft="60dp"
|
|
|
|
|
android:layout_marginTop="30dp"/>
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:layout_below="@id/person_username">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="15dp"
|
|
|
|
|
android:layout_height="15dp"
|
|
|
|
|
android:layout_alignRight="@+id/personal_region"
|
|
|
|
|
android:layout_marginRight="85dp"
|
|
|
|
|
android:src="@drawable/ic_global_menu_nearby"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/personal_region"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignRight="@+id/username_profession"
|
|
|
|
|
android:layout_marginRight="9dp"
|
|
|
|
|
android:textSize="14dp"
|
|
|
|
|
android:text="湖南省长沙市"/>
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:id="@+id/username_profession"
|
|
|
|
|
android:layout_width="4dp"
|
|
|
|
|
android:layout_height="18dp"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
app:cardBackgroundColor="#c0c0c0"/>
|
|
|
|
|
<!-- 职业-->
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="15dp"
|
|
|
|
|
android:layout_height="15dp"
|
|
|
|
|
android:layout_alignLeft="@id/person_profession"
|
|
|
|
|
android:layout_marginLeft="-15dp"
|
|
|
|
|
android:src="@drawable/anonymous"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/person_profession"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="学生"
|
|
|
|
|
android:textSize="14dp"
|
|
|
|
|
android:layout_alignLeft="@+id/username_profession"
|
|
|
|
|
android:layout_marginLeft="25dp"/>
|
|
|
|
|
<!-- 二维码-->
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
|
android:id="@+id/QRCode"
|
|
|
|
|
android:layout_width="100dp"
|
|
|
|
|
android:layout_height="100dp"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
|
android:layout_marginTop="-50dp"
|
|
|
|
|
android:layout_marginRight="-50dp"
|
|
|
|
|
android:src="@drawable/qrcodeimage"/>
|
|
|
|
|
|
|
|
|
|
<!-- 关注,粉丝,drug,论坛 -->
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:layout_width="95dp"
|
|
|
|
|
android:layout_height="43dp"
|
|
|
|
|
android:layout_below="@id/person_collection"
|
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
|
android:layout_marginTop="10dp">
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:textSize="12dp"
|
|
|
|
|
android:text="0"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:textSize="16dp"
|
|
|
|
|
android:text="粉丝"
|
|
|
|
|
android:layout_marginTop="20dp"/>
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="200dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_below="@+id/person_username"
|
|
|
|
|
android:layout_marginTop="30dp"
|
|
|
|
|
>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:layout_width="95dp"
|
|
|
|
|
android:layout_height="43dp"
|
|
|
|
|
android:layout_below="@+id/person_collection"
|
|
|
|
|
android:layout_marginLeft="95dp"
|
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
|
android:layout_marginTop="10dp">
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/follow_area"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginLeft="14dp">
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/follow_image"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:text="关注"
|
|
|
|
|
android:textSize="18dp"/>
|
|
|
|
|
android:textSize="12dp"
|
|
|
|
|
android:text="0"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_below="@id/follow_image"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:text="23"
|
|
|
|
|
android:textSize="15dp"
|
|
|
|
|
android:layout_marginTop="4dp"/>
|
|
|
|
|
android:textSize="16dp"
|
|
|
|
|
android:text="关注"
|
|
|
|
|
android:layout_marginTop="20dp"/>
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:layout_width="95dp"
|
|
|
|
|
android:layout_height="43dp"
|
|
|
|
|
android:layout_below="@+id/person_collection"
|
|
|
|
|
android:layout_marginLeft="190dp"
|
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
|
android:layout_marginTop="10dp">
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/star_area"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerHorizontal="true">
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/star_image"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:text="收藏"
|
|
|
|
|
android:textSize="18dp"/>
|
|
|
|
|
android:textSize="12dp"
|
|
|
|
|
android:text="0"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_below="@id/star_image"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:text="90"
|
|
|
|
|
android:textSize="15dp"
|
|
|
|
|
android:layout_marginTop="4dp"/>
|
|
|
|
|
android:textSize="16dp"
|
|
|
|
|
android:text="动态"
|
|
|
|
|
android:layout_marginTop="20dp"/>
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:layout_width="95dp"
|
|
|
|
|
android:layout_height="43dp"
|
|
|
|
|
android:layout_below="@+id/person_collection"
|
|
|
|
|
android:layout_marginLeft="285dp"
|
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
|
android:layout_marginTop="10dp">
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/fans_area"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_marginRight="14dp">
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/fans_image"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:text="粉丝"
|
|
|
|
|
android:textSize="18dp"/>
|
|
|
|
|
android:textSize="12dp"
|
|
|
|
|
android:text="0"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_below="@id/fans_image"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:text="23"
|
|
|
|
|
android:textSize="15dp"
|
|
|
|
|
android:layout_marginTop="4dp"/>
|
|
|
|
|
android:textSize="16dp"
|
|
|
|
|
android:text="论坛"
|
|
|
|
|
android:layout_marginTop="20dp"/>
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
|
android:id="@+id/QRCode"
|
|
|
|
|
android:layout_width="160dp"
|
|
|
|
|
android:layout_height="160dp"
|
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_marginBottom="-80dp"
|
|
|
|
|
android:layout_marginRight="-80dp"
|
|
|
|
|
android:src="@drawable/qrcodeimage"/>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
<!-- 头像-->
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
|
android:id="@+id/iv_avatar"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="80dp"
|
|
|
|
|
android:elevation="20dp"
|
|
|
|
|
app:civ_border_width="1dp"
|
|
|
|
|
app:civ_border_color="#ffffff"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:layout_marginTop="-40dp"
|
|
|
|
|
android:layout_alignTop="@+id/personal_head_card"
|
|
|
|
|
android:src="@drawable/draw7"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 设置几个选项 饮食爱好什么的-->
|
|
|
|
@ -304,26 +420,22 @@
|
|
|
|
|
android:layout_width="400dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:cardBackgroundColor="@color/white"
|
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
app:cardCornerRadius="10dp"
|
|
|
|
|
app:cardElevation="20dp"
|
|
|
|
|
app:cardMaxElevation="20dp"
|
|
|
|
|
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:layout_below="@+id/personal_head_card">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/person_cardview_relativeLayout"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
>
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/person_cardview_relalinearLayout1"
|
|
|
|
|
android:layout_width="75dp"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:layout_marginLeft="30dp">
|
|
|
|
|
>
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
|
android:id="@+id/diet_hobby"
|
|
|
|
|
android:layout_width="36dp"
|
|
|
|
@ -345,7 +457,7 @@
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/person_cardview_relalinearLayout2"
|
|
|
|
|
android:layout_width="75dp"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
@ -372,7 +484,7 @@
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/person_cardview_relalinearLayout4"
|
|
|
|
|
android:layout_width="75dp"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
>
|
|
|
|
@ -397,7 +509,7 @@
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/person_cardview_relalinearLayout5"
|
|
|
|
|
android:layout_width="75dp"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="10dp">
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
@ -417,30 +529,62 @@
|
|
|
|
|
android:layout_centerHorizontal="true"/>
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/person_drug_nums"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="10dp">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="30dp"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:src="@drawable/sheet_28"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="我的药馆"
|
|
|
|
|
android:textSize="12dp"
|
|
|
|
|
android:layout_marginTop="35dp"
|
|
|
|
|
android:layout_centerHorizontal="true"/>
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_below="@+id/person_cardview"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:text="我的文章"
|
|
|
|
|
/>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="20dp"
|
|
|
|
|
android:layout_height="20dp"
|
|
|
|
|
android:layout_below="@id/person_cardview"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:layout_marginLeft="54dp"
|
|
|
|
|
android:src="@drawable/next"/>
|
|
|
|
|
android:layout_marginTop="10dp">
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:textColor="@color/cardview_dark_background"
|
|
|
|
|
android:textSize="20dp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
|
android:text="我的文章"
|
|
|
|
|
/>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="20dp"
|
|
|
|
|
android:layout_height="20dp"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
|
android:src="@drawable/next"/>
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="200dp"
|
|
|
|
|
android:layout_height="140dp"
|
|
|
|
|
android:layout_below="@+id/person_cardview"
|
|
|
|
|
android:layout_marginTop="37dp">
|
|
|
|
|
|
|
|
|
@ -462,42 +606,39 @@
|
|
|
|
|
<!-- android:layout_height="0dp"-->
|
|
|
|
|
<!-- android:layout_weight="10" />-->
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/item_name"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
|
android:textColor="@android:color/black"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
tools:text="Stoneware + Porcelain Plate" />
|
|
|
|
|
<!-- <TextView-->
|
|
|
|
|
<!-- android:id="@+id/item_name"-->
|
|
|
|
|
<!-- android:layout_width="wrap_content"-->
|
|
|
|
|
<!-- android:layout_height="wrap_content"-->
|
|
|
|
|
<!-- android:layout_gravity="center_horizontal"-->
|
|
|
|
|
<!-- android:fontFamily="sans-serif-light"-->
|
|
|
|
|
<!-- android:textColor="@android:color/black"-->
|
|
|
|
|
<!-- android:textSize="16sp"-->
|
|
|
|
|
<!-- android:textStyle="bold"-->
|
|
|
|
|
<!-- tools:text="Stoneware + Porcelain Plate" />-->
|
|
|
|
|
|
|
|
|
|
<Space
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="4dp" />
|
|
|
|
|
<!-- <Space-->
|
|
|
|
|
<!-- android:layout_width="wrap_content"-->
|
|
|
|
|
<!-- android:layout_height="4dp" />-->
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/item_price"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:textColor="@color/shopAccent"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
tools:text="$24.00 USD" />
|
|
|
|
|
<!-- <TextView-->
|
|
|
|
|
<!-- android:id="@+id/item_price"-->
|
|
|
|
|
<!-- android:layout_width="wrap_content"-->
|
|
|
|
|
<!-- android:layout_height="wrap_content"-->
|
|
|
|
|
<!-- android:layout_gravity="center_horizontal"-->
|
|
|
|
|
<!-- android:textColor="@color/shopAccent"-->
|
|
|
|
|
<!-- android:textStyle="bold"-->
|
|
|
|
|
<!-- tools:text="$24.00 USD" />-->
|
|
|
|
|
|
|
|
|
|
<Space
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="16dp" />
|
|
|
|
|
<!-- <Space-->
|
|
|
|
|
<!-- android:layout_width="wrap_content"-->
|
|
|
|
|
<!-- android:layout_height="16dp" />-->
|
|
|
|
|
|
|
|
|
|
<com.yarolegovich.discretescrollview.DiscreteScrollView
|
|
|
|
|
android:id="@+id/item_picker"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
|
|
<Space
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="24dp" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -505,6 +646,104 @@
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:layout_width="400dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_below="@+id/person_cardview"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:elevation="0dp"
|
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
|
android:layout_marginTop="180dp">
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:layout_width="200dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
|
android:layout_marginTop="2dp"
|
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
|
android:layout_marginBottom="2dp">
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:src="@drawable/singinmeeting"
|
|
|
|
|
android:layout_marginLeft="10dp"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textSize="16dp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:layout_marginLeft="70dp"
|
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
|
android:text="签到"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textSize="12dp"
|
|
|
|
|
android:text="签到领取健康值"
|
|
|
|
|
android:textColor="#a0a0a0"
|
|
|
|
|
android:layout_marginLeft="70dp"
|
|
|
|
|
android:layout_marginTop="27dp"/>
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:layout_width="200dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
|
android:layout_marginTop="2dp"
|
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
|
android:layout_marginBottom="2dp">
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:src="@drawable/health_num"
|
|
|
|
|
android:layout_marginLeft="10dp"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textSize="16dp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:text="健康值"
|
|
|
|
|
android:layout_marginLeft="70dp"
|
|
|
|
|
android:layout_marginTop="3dp"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textSize="12dp"
|
|
|
|
|
android:text="可以换取好礼"
|
|
|
|
|
android:textColor="#a0a0a0"
|
|
|
|
|
android:layout_marginTop="27dp"
|
|
|
|
|
android:layout_marginLeft="70dp"/>
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
<!-- <androidx.cardview.widget.CardView-->
|
|
|
|
|
<!-- android:layout_width="match_parent"-->
|
|
|
|
|
<!-- android:layout_height="wrap_content"-->
|
|
|
|
|
<!-- android:layout_below="@+id/person_cardview"-->
|
|
|
|
|
<!-- android:layout_marginTop="178dp">-->
|
|
|
|
|
<!-- <RelativeLayout-->
|
|
|
|
|
<!-- android:layout_width="match_parent"-->
|
|
|
|
|
<!-- android:layout_height="wrap_content">-->
|
|
|
|
|
<!-- <androidx.cardview.widget.CardView-->
|
|
|
|
|
<!-- android:layout_width=""-->
|
|
|
|
|
<!-- android:layout_height=""-->
|
|
|
|
|
<!-- </RelativeLayout>-->
|
|
|
|
|
<!-- </androidx.cardview.widget.CardView>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|