837 lines
40 KiB
XML
837 lines
40 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout 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="@color/white"
|
|
android:orientation="vertical">
|
|
|
|
<com.yunbao.common.views.MyScrollview
|
|
android:id="@+id/scrollView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/appBarLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/transparent"
|
|
android:fadingEdge="none"
|
|
app:elevation="0dp"
|
|
app:layout_behavior="com.yunbao.common.custom.FixAppBarLayoutBehavior">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:minHeight="65dp"
|
|
android:orientation="vertical"
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/topImgLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="380dp"
|
|
android:background="@color/gray1">
|
|
|
|
<com.ms.banner.Banner
|
|
android:id="@+id/banner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="70dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginBottom="35dp"
|
|
android:gravity="bottom"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/imgsRecyclerView"
|
|
android:layout_width="0dp"
|
|
android:layout_height="65dp"
|
|
android:layout_weight="1"
|
|
android:paddingStart="10dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imgUp"
|
|
android:layout_width="60dp"
|
|
android:layout_height="60dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:src="@mipmap/icon_img_up"
|
|
android:visibility="gone" />
|
|
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/imgLabel"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginBottom="80dp"
|
|
android:src="@mipmap/icon_img_up_label"
|
|
android:visibility="gone" />
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="-20dp"
|
|
android:background="@drawable/bg_user_home_bottom"
|
|
android:orientation="vertical"
|
|
android:padding="20dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="80dp"
|
|
android:layout_height="90dp">
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/avatar"
|
|
android:layout_width="80dp"
|
|
android:layout_height="80dp"
|
|
android:padding="1dp"
|
|
android:scaleType="centerCrop"
|
|
app:riv_oval="true" />
|
|
|
|
<pl.droidsonroids.gif.GifImageView
|
|
android:id="@+id/liveStatus"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginBottom="2dp"
|
|
android:src="@mipmap/icon_liveing"
|
|
android:visibility="gone" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="10dp"
|
|
android:text=""
|
|
android:textColor="#333333"
|
|
android:textSize="20dp"
|
|
android:textStyle="bold" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="10dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="10dp"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/fansCount"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text=""
|
|
android:textColor="#333333"
|
|
android:textSize="12dp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/fans"
|
|
android:textColor="#777777"
|
|
android:textSize="12dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="10dp"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/likeCount"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text=""
|
|
android:textColor="#333333"
|
|
android:textSize="12dp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/praise"
|
|
android:textColor="#777777"
|
|
android:textSize="12dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/followLayout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="35dp"
|
|
android:background="@drawable/bg_main_com_type"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="10dp"
|
|
android:paddingEnd="10dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/followIcon"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:src="@mipmap/icon_like_follow" />
|
|
|
|
<TextView
|
|
android:id="@+id/followName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:text="@string/focus_on"
|
|
android:textColor="@color/white"
|
|
android:textSize="14dp"
|
|
android:textStyle="bold" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="15dp"
|
|
android:layout_marginTop="10dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/userId"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:text="ID:"
|
|
android:textColor="#777777"
|
|
android:textSize="12dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/userStatus"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="10dp"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/activity_msg_chat_top_status_online"
|
|
android:textColor="#777777"
|
|
android:textSize="10dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/userStatusIcon"
|
|
android:layout_width="5dp"
|
|
android:layout_height="5dp"
|
|
android:layout_gravity="top"
|
|
android:layout_marginStart="2dp"
|
|
android:src="@mipmap/icon_green" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/user_sex"
|
|
android:layout_width="30dp"
|
|
android:layout_height="20dp"
|
|
android:src="@mipmap/icon_wumen" />
|
|
|
|
<ImageView
|
|
android:id="@+id/authorlIcon"
|
|
android:layout_width="50dp"
|
|
android:layout_height="20dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/levelIcon"
|
|
android:layout_width="50dp"
|
|
android:layout_height="20dp" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/userPresidentLayout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20dp"
|
|
android:gravity="center_vertical"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:src="@mipmap/icon_trade_union" />
|
|
|
|
<TextView
|
|
android:id="@+id/userPresidentName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20dp"
|
|
android:layout_marginLeft="27dp"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/trade_union"
|
|
android:textColor="#F65BBB"
|
|
android:textSize="12dp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/authenticationLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_vertical"
|
|
android:visibility="visible">
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:src="@mipmap/icon_auth_suc" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:text="@string/real_person"
|
|
android:textColor="#333333"
|
|
android:textSize="12dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<com.xuexiang.xui.widget.flowlayout.FlowTagLayout
|
|
android:id="@+id/myFlowTag"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
app:ftl_check_mode="none" />
|
|
|
|
<TextView
|
|
android:id="@+id/signature"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:text=""
|
|
android:textColor="#777777"
|
|
android:textSize="12dp" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/itemLayout01"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="70dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@mipmap/bg_user_home_01"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="20dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/user_home_anchor"
|
|
android:textColor="#333333"
|
|
android:textSize="12dp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/fanName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:text="@string/fan_group_name"
|
|
android:textColor="#777777"
|
|
android:textSize="14dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_vertical|right"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp">
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:src="@mipmap/img_no1" />
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/fansImg1"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
app:riv_oval="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp">
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:src="@mipmap/img_no2" />
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/fansImg2"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
app:riv_oval="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp">
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:src="@mipmap/img_no3" />
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/fansImg3"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
app:riv_oval="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<ImageView
|
|
android:layout_width="12dp"
|
|
android:layout_height="12dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="10dp"
|
|
android:src="@mipmap/icon_gray_new_right" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/itemLayout02"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="70dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@mipmap/bg_user_home_02"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="20dp"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/fan_group_name"
|
|
android:textColor="#333333"
|
|
android:textSize="12dp"
|
|
android:textStyle="bold" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_vertical|right"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp">
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:src="@mipmap/img_no1" />
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/guardImg1"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
app:riv_oval="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp">
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:src="@mipmap/img_no2" />
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/guardImg2"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
app:riv_oval="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp">
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:src="@mipmap/img_no3" />
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/guardImg3"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
app:riv_oval="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<ImageView
|
|
android:layout_width="12dp"
|
|
android:layout_height="12dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="10dp"
|
|
android:src="@mipmap/icon_gray_new_right" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/itemLayout03"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="70dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@drawable/bg_user_home_gift"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="20dp"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/gift_wall"
|
|
android:textColor="#333333"
|
|
android:textSize="12dp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/giftCount"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:text="0/36"
|
|
android:textColor="#777777"
|
|
android:textSize="14dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_vertical|right"
|
|
android:orientation="horizontal">
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/giftImg1"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp" />
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/giftImg2"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp"
|
|
android:layout_marginLeft="5dp" />
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/giftImg3"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp"
|
|
android:layout_marginLeft="5dp" />
|
|
|
|
<ImageView
|
|
android:layout_width="12dp"
|
|
android:layout_height="12dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="10dp"
|
|
android:src="@mipmap/icon_gray_new_right" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/itemLayout04"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="70dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@mipmap/bg_user_home_03"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="20dp"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/wall_honor"
|
|
android:textColor="#333333"
|
|
android:textSize="12dp"
|
|
android:textStyle="bold" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_vertical|right"
|
|
android:orientation="horizontal">
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/honorImg1"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp" />
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/honorImg2"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp"
|
|
android:layout_marginLeft="5dp" />
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/honorImg3"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp"
|
|
android:layout_marginLeft="5dp" />
|
|
|
|
<ImageView
|
|
android:layout_width="12dp"
|
|
android:layout_height="12dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="10dp"
|
|
android:src="@mipmap/icon_gray_new_right" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/moreLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="15dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:id="@+id/moreText"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/see_more"
|
|
android:textColor="#FF4874"
|
|
android:textSize="13dp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:id="@+id/moreIcon"
|
|
android:layout_width="15dp"
|
|
android:layout_height="15dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:src="@mipmap/icon_down" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:background="#FFE9F6" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="3dp"
|
|
android:layout_marginTop="10dp"
|
|
android:src="@mipmap/icon_index_new" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/commen_user_active"
|
|
android:textColor="#333333"
|
|
android:textSize="16dp"
|
|
android:textStyle="bold" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/communityRecyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/appBarLayout"
|
|
android:overScrollMode="never"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</com.yunbao.common.views.MyScrollview>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/topLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="80dp"
|
|
android:background="@android:color/transparent"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="20dp"
|
|
android:paddingTop="20dp"
|
|
android:paddingRight="20dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/back"
|
|
android:layout_width="34dp"
|
|
android:layout_height="30dp"
|
|
android:src="@mipmap/icon_left" />
|
|
|
|
<TextView
|
|
android:id="@+id/topName"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:text=""
|
|
android:textColor="#333333"
|
|
android:textSize="16dp"
|
|
android:textStyle="bold"
|
|
android:visibility="visible" />
|
|
|
|
<ImageView
|
|
android:id="@+id/setting"
|
|
android:layout_width="30dp"
|
|
android:layout_height="30dp"
|
|
android:src="@mipmap/icon_right_gray"
|
|
android:visibility="visible" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/bottomEditLayout"
|
|
android:layout_width="180dp"
|
|
android:layout_height="50dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginBottom="30dp"
|
|
android:background="@drawable/bg_main_com_type"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:src="@mipmap/icon_user_home_edit_new" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:paddingLeft="5dp"
|
|
android:text="@string/edit_profile"
|
|
android:textColor="@color/white"
|
|
android:textSize="14dp"
|
|
android:textStyle="bold" />
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout> |