|
|
|
@ -37,74 +37,230 @@
|
|
|
|
|
<!-- android:scaleType="fitXY"-->
|
|
|
|
|
<!-- app:layout_anchorGravity="center"-->
|
|
|
|
|
<!-- android:background="@drawable/draw12"/>-->
|
|
|
|
|
<com.skyfishjy.library.RippleBackground
|
|
|
|
|
android:id="@+id/linearcontent"
|
|
|
|
|
|
|
|
|
|
<!-- <com.skyfishjy.library.RippleBackground-->
|
|
|
|
|
<!-- android:id="@+id/linearcontent"-->
|
|
|
|
|
<!-- android:layout_width="match_parent"-->
|
|
|
|
|
<!-- android:layout_height="260dp"-->
|
|
|
|
|
<!-- app:rb_color="#808080"-->
|
|
|
|
|
<!-- app:rb_duration="6000"-->
|
|
|
|
|
<!-- app:rb_radius="60dp"-->
|
|
|
|
|
<!-- app:rb_rippleAmount="6"-->
|
|
|
|
|
<!-- app:rb_type="strokeRipple"-->
|
|
|
|
|
<!-- android:background="@drawable/draw12"-->
|
|
|
|
|
<!-- app:rb_scale="6">-->
|
|
|
|
|
|
|
|
|
|
<!-- //旋转头像-->
|
|
|
|
|
<!-- <de.hdodenhof.circleimageview.CircleImageView xmlns:app="http://schemas.android.com/apk/res-auto"-->
|
|
|
|
|
<!-- android:id="@+id/iv_avatar"-->
|
|
|
|
|
<!-- android:layout_width="120dp"-->
|
|
|
|
|
<!-- android:layout_height="120dp"-->
|
|
|
|
|
<!-- android:layout_centerInParent="true"-->
|
|
|
|
|
<!-- app:civ_border_color="#d0d0d0"-->
|
|
|
|
|
|
|
|
|
|
<!-- app:civ_border_width="1dp" />-->
|
|
|
|
|
<!-- //用户名-->
|
|
|
|
|
|
|
|
|
|
<!-- <TextView-->
|
|
|
|
|
<!-- android:id="@+id/user_name_person"-->
|
|
|
|
|
<!-- android:layout_width="wrap_content"-->
|
|
|
|
|
<!-- android:layout_height="wrap_content"-->
|
|
|
|
|
<!-- android:layout_alignTop="@+id/iv_avatar"-->
|
|
|
|
|
<!-- android:layout_centerHorizontal="true"-->
|
|
|
|
|
<!-- android:layout_marginTop="-30dp"-->
|
|
|
|
|
<!-- android:text="未登录"-->
|
|
|
|
|
<!-- android:textSize="20sp" />-->
|
|
|
|
|
|
|
|
|
|
<!-- <de.hdodenhof.circleimageview.CircleImageView-->
|
|
|
|
|
<!-- android:layout_width="65dp"-->
|
|
|
|
|
<!-- android:layout_height="65dp"-->
|
|
|
|
|
<!-- android:src="@drawable/draw15"-->
|
|
|
|
|
<!-- android:id="@+id/drug_essays"-->
|
|
|
|
|
<!-- android:layout_alignLeft="@+id/iv_avatar"-->
|
|
|
|
|
<!-- android:layout_marginLeft="210dp"-->
|
|
|
|
|
<!-- android:layout_alignTop="@+id/iv_avatar"-->
|
|
|
|
|
<!-- android:layout_marginTop="20dp"-->
|
|
|
|
|
|
|
|
|
|
<!-- />-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- </com.skyfishjy.library.RippleBackground>-->
|
|
|
|
|
<!-- 弹窗菜单按钮-->
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/set_image"
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:src="@drawable/mirror_light_ctrl_gray"
|
|
|
|
|
android:layout_marginTop="20dp"/>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/voiceprint"
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
|
android:src="@drawable/voiceprint"
|
|
|
|
|
android:layout_marginTop="20dp"/>
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:id="@+id/personal_head_card"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="260dp"
|
|
|
|
|
app:rb_color="#808080"
|
|
|
|
|
app:rb_duration="6000"
|
|
|
|
|
app:rb_radius="60dp"
|
|
|
|
|
app:rb_rippleAmount="6"
|
|
|
|
|
app:rb_type="strokeRipple"
|
|
|
|
|
android:background="@drawable/draw12"
|
|
|
|
|
app:rb_scale="6">
|
|
|
|
|
|
|
|
|
|
//头像
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:id="@+id/iv_avatar"
|
|
|
|
|
android:layout_width="120dp"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
|
app:civ_border_color="#d0d0d0"
|
|
|
|
|
|
|
|
|
|
app:civ_border_width="1dp" />
|
|
|
|
|
//用户名
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/user_name_person"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignTop="@+id/iv_avatar"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:layout_marginTop="-30dp"
|
|
|
|
|
android:text="未登录"
|
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
|
android:layout_width="65dp"
|
|
|
|
|
android:layout_height="65dp"
|
|
|
|
|
android:src="@drawable/draw15"
|
|
|
|
|
android:id="@+id/drug_essays"
|
|
|
|
|
android:layout_alignLeft="@+id/iv_avatar"
|
|
|
|
|
android:layout_marginLeft="210dp"
|
|
|
|
|
android:layout_alignTop="@+id/iv_avatar"
|
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
|
android:layout_height="180dp"
|
|
|
|
|
app:cardElevation="15dp"
|
|
|
|
|
app:cardCornerRadius="10dp"
|
|
|
|
|
android:layout_below="@id/set_image"
|
|
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
>
|
|
|
|
|
<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="50dp"
|
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:text="不拘一格"
|
|
|
|
|
android:textColor="#000000"
|
|
|
|
|
android:textSize="30dp"/>
|
|
|
|
|
<!-- 这是性别-->
|
|
|
|
|
|
|
|
|
|
<!-- 这是地区-->
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="20dp"
|
|
|
|
|
android:layout_height="20dp"
|
|
|
|
|
android:layout_below="@+id/person_username"
|
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
|
android:background="@drawable/ic_global_menu_nearby"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/person_region"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:text="湖南省长沙市"
|
|
|
|
|
android:layout_marginLeft="23dp"
|
|
|
|
|
android:textColor="#c0c0c0"
|
|
|
|
|
android:textSize="15dp"
|
|
|
|
|
android:layout_below="@+id/person_username"
|
|
|
|
|
android:layout_marginTop="5dp"/>
|
|
|
|
|
<!-- 这里设置个性签名的图片-->
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/person_gexingqianming_image"
|
|
|
|
|
android:layout_width="20dp"
|
|
|
|
|
android:layout_height="20dp"
|
|
|
|
|
android:background="@drawable/draw13"
|
|
|
|
|
android:layout_below="@+id/person_region"
|
|
|
|
|
android:layout_marginTop="-4dp"/>
|
|
|
|
|
<!-- 这里设置个性签名,暂时不能超过15个字符-->
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/person_gexingqianming"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:layout_marginLeft="28dp"
|
|
|
|
|
android:layout_marginTop="-3dp"
|
|
|
|
|
android:layout_below="@+id/person_region"
|
|
|
|
|
android:textSize="15dp"
|
|
|
|
|
android:textColor="#c0c0c0"
|
|
|
|
|
|
|
|
|
|
android:text="成军于三湘在四海中闯荡"/>
|
|
|
|
|
<!-- 圆形头像-->
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
|
android:id="@+id/iv_avatar"
|
|
|
|
|
android:layout_width="100dp"
|
|
|
|
|
android:layout_height="100dp"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
app:civ_border_color="#e0e0e0"
|
|
|
|
|
app:civ_border_width="4dp"
|
|
|
|
|
android:elevation="74dp"
|
|
|
|
|
/>
|
|
|
|
|
<!-- 接下来是收藏,drug ,粉丝-->
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/Collection_num"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="35dp"
|
|
|
|
|
android:layout_alignTop="@id/iv_avatar"
|
|
|
|
|
android:layout_marginTop="101dp"
|
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
|
android:text="212"
|
|
|
|
|
android:textSize="24dp"
|
|
|
|
|
android:textColor="#000000"
|
|
|
|
|
/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:layout_alignTop="@id/Collection_num"
|
|
|
|
|
android:layout_marginTop="36dp"
|
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
|
android:textColor="#d0d0d0"
|
|
|
|
|
android:text="收藏"
|
|
|
|
|
android:textSize="16dp"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/drug_num"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="35dp"
|
|
|
|
|
android:layout_alignTop="@+id/iv_avatar"
|
|
|
|
|
android:layout_marginTop="101dp"
|
|
|
|
|
android:layout_marginLeft="90dp"
|
|
|
|
|
android:text="222"
|
|
|
|
|
android:textSize="24dp"
|
|
|
|
|
android:textColor="#000000"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:layout_alignTop="@+id/drug_num"
|
|
|
|
|
android:layout_marginTop="36dp"
|
|
|
|
|
|
|
|
|
|
android:layout_marginLeft="90dp"
|
|
|
|
|
android:text="drug"
|
|
|
|
|
android:textColor="#d0d0d0"
|
|
|
|
|
android:textSize="16dp"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/fans_num"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="35dp"
|
|
|
|
|
android:layout_alignTop="@+id/iv_avatar"
|
|
|
|
|
android:layout_marginTop="101dp"
|
|
|
|
|
android:layout_marginLeft="170dp"
|
|
|
|
|
android:text="14"
|
|
|
|
|
android:textSize="24dp"
|
|
|
|
|
android:textColor="#000000"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:layout_alignTop="@id/fans_num"
|
|
|
|
|
android:layout_marginTop="36dp"
|
|
|
|
|
android:layout_marginLeft="170dp"
|
|
|
|
|
android:text="粉丝"
|
|
|
|
|
android:textColor="#d0d0d0"
|
|
|
|
|
android:textSize="16dp"/>
|
|
|
|
|
|
|
|
|
|
<!-- 二维码图片按钮-->
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
|
android:id="@+id/QRCode"
|
|
|
|
|
android:layout_width="120dp"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
|
android:layout_marginBottom="-60dp"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_marginRight="-60dp"
|
|
|
|
|
android:elevation="10dp"
|
|
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</com.skyfishjy.library.RippleBackground>
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/person_gexingqianming"
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:layout_alignBottom="@+id/linearcontent"
|
|
|
|
|
android:layout_marginBottom="40dp"
|
|
|
|
|
android:layout_marginLeft="15dp"
|
|
|
|
|
android:src="@drawable/draw13"/>
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:id="@+id/gexingqianming"
|
|
|
|
|
android:layout_alignLeft="@+id/person_gexingqianming"
|
|
|
|
|
android:layout_marginLeft="60dp"
|
|
|
|
|
android:layout_alignBottom="@+id/linearcontent"
|
|
|
|
|
android:textSize="14dp"
|
|
|
|
|
android:layout_marginBottom="46dp"
|
|
|
|
|
android:text="改写写什么呢???"/>
|
|
|
|
|
|
|
|
|
|
设置几个选项
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
@ -114,11 +270,11 @@
|
|
|
|
|
app:cardBackgroundColor="@color/white"
|
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
|
android:layout_marginTop="-40dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
app:cardCornerRadius="10dp"
|
|
|
|
|
app:cardElevation="20dp"
|
|
|
|
|
app:cardMaxElevation="20dp"
|
|
|
|
|
android:layout_below="@+id/linearcontent">
|
|
|
|
|
android:layout_below="@+id/personal_head_card">
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/person_cardview_relativeLayout"
|
|
|
|
@ -134,8 +290,8 @@
|
|
|
|
|
android:layout_marginLeft="30dp">
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
|
android:id="@+id/diet_hobby"
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:layout_width="36dp"
|
|
|
|
|
android:layout_height="36dp"
|
|
|
|
|
|
|
|
|
|
android:src="@drawable/mushroom"
|
|
|
|
|
app:civ_border_width="0dp" />
|
|
|
|
@ -144,6 +300,7 @@
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="饮食爱好"
|
|
|
|
|
android:textSize="12dp"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
></TextView>
|
|
|
|
|
|
|
|
|
@ -153,14 +310,16 @@
|
|
|
|
|
android:id="@+id/person_cardview_relalinearLayout2"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignLeft="@+id/person_cardview_relalinearLayout1"
|
|
|
|
|
android:layout_marginLeft="90dp"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
>
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
|
android:id="@+id/person_calender"
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:layout_width="35dp"
|
|
|
|
|
android:layout_height="35dp"
|
|
|
|
|
|
|
|
|
|
android:src="@drawable/origamicoloredpencil06"
|
|
|
|
|
app:civ_border_width="0dp"
|
|
|
|
@ -171,45 +330,47 @@
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="日历"
|
|
|
|
|
android:textSize="12dp"
|
|
|
|
|
android:layout_gravity="center_horizontal"/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/person_cardview_relalinearLayout3"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_marginRight="30dp">
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
|
android:id="@+id/person_article"
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
|
|
|
|
|
android:src="@drawable/tuya_pc_icon_09"
|
|
|
|
|
app:civ_border_width="0dp"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/person_calender_text"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="我的文章"
|
|
|
|
|
android:layout_gravity="center_horizontal"/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<!-- <LinearLayout-->
|
|
|
|
|
<!-- android:id="@+id/person_cardview_relalinearLayout3"-->
|
|
|
|
|
<!-- android:layout_width="wrap_content"-->
|
|
|
|
|
<!-- android:layout_height="wrap_content"-->
|
|
|
|
|
<!-- android:orientation="vertical"-->
|
|
|
|
|
<!-- android:layout_marginTop="10dp"-->
|
|
|
|
|
<!-- android:layout_alignParentRight="true"-->
|
|
|
|
|
<!-- android:layout_marginRight="30dp">-->
|
|
|
|
|
<!-- <de.hdodenhof.circleimageview.CircleImageView-->
|
|
|
|
|
<!-- android:id="@+id/person_article"-->
|
|
|
|
|
<!-- android:layout_width="50dp"-->
|
|
|
|
|
<!-- android:layout_height="50dp"-->
|
|
|
|
|
|
|
|
|
|
<!-- android:src="@drawable/tuya_pc_icon_09"-->
|
|
|
|
|
<!-- app:civ_border_width="0dp"/>-->
|
|
|
|
|
<!-- <TextView-->
|
|
|
|
|
<!-- android:id="@+id/person_calender_text1"-->
|
|
|
|
|
<!-- android:layout_width="wrap_content"-->
|
|
|
|
|
<!-- android:layout_height="wrap_content"-->
|
|
|
|
|
<!-- android:text="我的文章"-->
|
|
|
|
|
<!-- android:layout_gravity="center_horizontal"/>-->
|
|
|
|
|
|
|
|
|
|
<!-- </LinearLayout>-->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/person_cardview_relalinearLayout4"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignLeft="@+id/person_cardview_relalinearLayout2"
|
|
|
|
|
android:layout_marginLeft="90dp"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_below="@+id/person_cardview_relalinearLayout1"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:layout_marginLeft="30dp">
|
|
|
|
|
>
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
|
android:id="@+id/person_Healthrecommendation"
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:layout_width="35dp"
|
|
|
|
|
android:layout_height="35dp"
|
|
|
|
|
|
|
|
|
|
android:src="@drawable/origamicoloredpencil02"
|
|
|
|
|
app:civ_border_width="0dp"/>
|
|
|
|
@ -218,6 +379,7 @@
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="养生推荐"
|
|
|
|
|
android:textSize="12dp"
|
|
|
|
|
android:layout_gravity="center_horizontal"/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
@ -226,13 +388,14 @@
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_below="@+id/person_cardview_relalinearLayout2"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:layout_alignLeft="@+id/person_cardview_relalinearLayout4"
|
|
|
|
|
android:layout_marginLeft="90dp"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:layout_centerHorizontal="true">
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
|
android:id="@+id/person_messagenotification"
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:layout_width="35dp"
|
|
|
|
|
android:layout_height="35dp"
|
|
|
|
|
|
|
|
|
|
android:src="@drawable/tuya_pc_icon_19"
|
|
|
|
|
app:civ_border_width="0dp"/>
|
|
|
|
@ -241,6 +404,7 @@
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="消息通知"
|
|
|
|
|
android:textSize="12dp"
|
|
|
|
|
android:layout_gravity="center_horizontal"/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
@ -251,6 +415,88 @@
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
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"/>
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="200dp"
|
|
|
|
|
android:layout_below="@+id/person_cardview"
|
|
|
|
|
android:layout_marginTop="37dp">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@android:color/white"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <Space-->
|
|
|
|
|
<!-- android:layout_width="wrap_content"-->
|
|
|
|
|
<!-- 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" />
|
|
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|