751 lines
34 KiB
XML
751 lines
34 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.yunbao.common.views.MyScrollview 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="@mipmap/main_bg"
|
|
android:orientation="vertical">
|
|
|
|
<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: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"
|
|
android:src="@mipmap/temp" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/imgsRecyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="65dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginBottom="35dp"
|
|
android:paddingStart="10dp" />
|
|
|
|
</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">
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/avatar"
|
|
android:layout_width="80dp"
|
|
android:layout_height="80dp"
|
|
android:scaleType="centerCrop"
|
|
android:src="@mipmap/temp"
|
|
app:riv_corner_radius="20dp" />
|
|
|
|
<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="粉丝"
|
|
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="获赞"
|
|
android:textColor="#777777"
|
|
android:textSize="12dp" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/followLayout"
|
|
android:layout_width="80dp"
|
|
android:layout_height="35dp"
|
|
android:background="@drawable/bg_main_com_type"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<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="关注"
|
|
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="在线"
|
|
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="5dp"
|
|
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" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/authorLayout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20dp"
|
|
android:gravity="center_vertical"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:id="@+id/authorlIcon"
|
|
android:layout_width="56dp"
|
|
android:layout_height="20dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:visibility="visible" />
|
|
|
|
<TextView
|
|
android:id="@+id/author"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20dp"
|
|
android:layout_marginLeft="25dp"
|
|
android:gravity="center_vertical"
|
|
android:text="Lv 42"
|
|
android:textColor="@color/white"
|
|
android:textSize="12dp"
|
|
android:visibility="gone" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/levelLayout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20dp"
|
|
android:gravity="center_vertical"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:id="@+id/levelIcon"
|
|
android:layout_width="56dp"
|
|
android:layout_height="20dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:visibility="visible" />
|
|
|
|
<TextView
|
|
android:id="@+id/level"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20dp"
|
|
android:layout_marginLeft="27dp"
|
|
android:gravity="center_vertical"
|
|
android:text="Lv 42"
|
|
android:textColor="@color/white"
|
|
android:textSize="12dp"
|
|
android:visibility="gone" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<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="工会"
|
|
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="gone">
|
|
|
|
<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="真人认证"
|
|
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"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
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:layout_marginTop="5dp"
|
|
android:text="粉絲團名稱"
|
|
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="45dp"
|
|
android:layout_height="45dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="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="45dp"
|
|
android:layout_height="45dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="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="45dp"
|
|
android:layout_height="45dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="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="主播守護團"
|
|
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">
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:src="@mipmap/img_no1" />
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:src="@mipmap/img_no2" />
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:src="@mipmap/img_no3" />
|
|
|
|
<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_04"
|
|
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="礼物墙"
|
|
android:textColor="#333333"
|
|
android:textSize="12dp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
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">
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp" />
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:layout_marginLeft="5dp" />
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
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="榮譽墻"
|
|
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">
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp" />
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:layout_marginLeft="5dp" />
|
|
|
|
<ImageView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:src="@mipmap/img_honor_default" />
|
|
|
|
<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="查看更多"
|
|
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="个人动态"
|
|
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>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/topLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="80dp"
|
|
android:background="@android:color/transparent"
|
|
android:clickable="true"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="20dp"
|
|
android:paddingTop="40dp"
|
|
android:paddingRight="20dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/back"
|
|
android:layout_width="34dp"
|
|
android:layout_height="30dp"
|
|
android:src="@mipmap/icon_left" />
|
|
|
|
<TextView
|
|
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="invisible" />
|
|
|
|
<ImageView
|
|
android:id="@+id/setting"
|
|
android:layout_width="30dp"
|
|
android:layout_height="30dp"
|
|
android:src="@mipmap/icon_right_gray" />
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
</com.yunbao.common.views.MyScrollview> |