508 lines
25 KiB
XML
508 lines
25 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:background="@mipmap/login11"
|
||
|
|
android:fitsSystemWindows="true"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="50dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/iv_base_back"
|
||
|
|
android:layout_width="20dp"
|
||
|
|
android:layout_height="19dp"
|
||
|
|
android:layout_centerVertical="true"
|
||
|
|
android:layout_marginLeft="14dp"
|
||
|
|
android:src="@mipmap/ic_arrow_back_white_24dp" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_centerInParent="true"
|
||
|
|
android:text="动态详情"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
||
|
|
android:id="@+id/refreshLayout"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:layout_weight="1">
|
||
|
|
|
||
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
|
||
|
|
<com.google.android.material.appbar.AppBarLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@color/translant"
|
||
|
|
android:orientation="vertical"
|
||
|
|
app:elevation="0dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/zhengge_item"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:layout_marginRight="10dp"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:padding="10dp"
|
||
|
|
app:layout_scrollFlags="scroll">
|
||
|
|
<!-- android:background="@drawable/shape_261c39_15"-->
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<com.yuyin.lib_base.view.CircularImage
|
||
|
|
android:id="@+id/dy_head_image"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center_vertical"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
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/dy_name_text"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_toRightOf="@id/dy_head_image"
|
||
|
|
android:textColor="#212121"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/dy_sex_image"
|
||
|
|
android:layout_width="14dp"
|
||
|
|
android:layout_height="14dp"
|
||
|
|
android:layout_below="@id/dy_name_text"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_toRightOf="@id/dy_head_image"
|
||
|
|
android:visibility="visible" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/dy_rank_image"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="14dp"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:visibility="gone" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/dy_top_text"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="14dp"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/shape_butt_main_50"
|
||
|
|
android:gravity="center"
|
||
|
|
android:paddingLeft="8dp"
|
||
|
|
android:paddingRight="8dp"
|
||
|
|
android:text="置顶"
|
||
|
|
android:textColor="#fffefefe"
|
||
|
|
android:textSize="8sp"
|
||
|
|
android:visibility="gone" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="5dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/dy_time_text"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_below="@id/dy_name_text"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_toRightOf="@id/dy_sex_image"
|
||
|
|
android:text="2022-09-12 19:00:00"
|
||
|
|
android:textColor="#999999"
|
||
|
|
android:textSize="11sp" />
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<View
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="1dp"
|
||
|
|
android:layout_weight="1" />
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/delete"
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:layout_gravity="right"
|
||
|
|
android:scaleType="center"
|
||
|
|
android:src="@mipmap/icon_dongtai_del2"
|
||
|
|
android:visibility="gone" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/guanzhu_btn"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@mipmap/no_follow"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textSize="11sp"
|
||
|
|
android:visibility="visible" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/dy_content_tv"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginStart="0dp"
|
||
|
|
android:layout_marginTop="14dp"
|
||
|
|
android:ellipsize="end"
|
||
|
|
android:maxLines="7"
|
||
|
|
android:textColor="#212121"
|
||
|
|
android:textSize="13sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/dy_lookmore_tv"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_below="@id/dy_content_tv"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:layout_marginRight="6dp"
|
||
|
|
android:text="查看更多"
|
||
|
|
android:textColor="@color/color333333"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:visibility="gone" />
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:id="@+id/aaa"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginStart="0dp"
|
||
|
|
android:layout_marginTop="10dp">
|
||
|
|
|
||
|
|
<com.yuyin.lib_base.view.MyGridView
|
||
|
|
android:id="@+id/dy_image_recyc"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:numColumns="3"
|
||
|
|
android:scrollbars="none"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:id="@+id/dy_voice"
|
||
|
|
android:layout_width="165dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_centerVertical="true"
|
||
|
|
android:visibility="gone"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/dy_voice_back"
|
||
|
|
android:layout_width="163dp"
|
||
|
|
android:layout_height="36dp"
|
||
|
|
android:src="@drawable/shape_butt_main_50" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/dy_voice_play"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_centerVertical="true"
|
||
|
|
android:layout_marginLeft="15dp"
|
||
|
|
android:src="@mipmap/shequ_yuyin_bofang"
|
||
|
|
android:visibility="gone" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/dy_voice_time"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_centerVertical="true"
|
||
|
|
android:layout_marginLeft="16dp"
|
||
|
|
android:text="0"
|
||
|
|
android:textColor="@color/white" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="90dp"
|
||
|
|
android:layout_height="15dp"
|
||
|
|
android:layout_alignParentRight="true"
|
||
|
|
android:layout_centerVertical="true"
|
||
|
|
android:layout_marginRight="17dp"
|
||
|
|
android:src="@drawable/dongtai_hudong_shengbo" />
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
||
|
|
android:id="@+id/dy_oneimage_iv"
|
||
|
|
android:layout_width="200dp"
|
||
|
|
android:layout_height="200dp"
|
||
|
|
android:scaleType="centerCrop"
|
||
|
|
android:visibility="gone"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
|
app:riv_corner_radius="5dp" />
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
<FrameLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginStart="0dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/dy_more_image"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="@dimen/dp_10"
|
||
|
|
android:src="@mipmap/shequ_dongtai_gengduo"
|
||
|
|
android:visibility="visible" />
|
||
|
|
|
||
|
|
<View
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="1dp"
|
||
|
|
android:layout_weight="1" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="15dp"
|
||
|
|
android:layout_height="15dp"
|
||
|
|
android:src="@mipmap/weizhixinxi" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tvAddress"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginStart="5dp"
|
||
|
|
android:text="未知"
|
||
|
|
android:textColor="#ffa7a5ae"
|
||
|
|
android:textSize="12sp" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/pinglun"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/pinglun_image"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:src="@drawable/dongtai_hudong_pinglun" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/dy_comment"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:text="0"
|
||
|
|
android:textColor="#212121"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/dianzan"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_marginStart="20dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/dianzan_image"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:src="@drawable/dongtai_hudong_dianzan" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/dy_fabulous"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:text="0"
|
||
|
|
android:textColor="#212121"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/zhuanfa"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_gravity="right"
|
||
|
|
android:layout_marginLeft="80dp"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/zhuanfa_image"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center_vertical"
|
||
|
|
android:src="@mipmap/santiaogang" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/dy_share"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="right|center_vertical"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:text="0"
|
||
|
|
android:textColor="@color/color333333"
|
||
|
|
android:textSize="13sp"
|
||
|
|
android:visibility="gone" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/iv_jubao"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end" />
|
||
|
|
|
||
|
|
</FrameLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<View
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="5dp"
|
||
|
|
android:layout_marginTop="8dp"
|
||
|
|
android:background="#F5F5F5"
|
||
|
|
android:visibility="gone" />
|
||
|
|
|
||
|
|
<FrameLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:layout_marginLeft="15dp"
|
||
|
|
android:layout_marginTop="@dimen/dp_10">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/v_view"
|
||
|
|
android:layout_width="15sp"
|
||
|
|
android:layout_height="15sp"
|
||
|
|
android:layout_gravity="right"
|
||
|
|
android:scaleType="fitXY"
|
||
|
|
android:src="@drawable/no_follow"
|
||
|
|
android:visibility="gone" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tv_pl"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:text="全部评论"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
|
||
|
|
</FrameLayout>
|
||
|
|
</com.google.android.material.appbar.AppBarLayout>
|
||
|
|
|
||
|
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
|
android:id="@+id/myList1"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_marginLeft="15dp"
|
||
|
|
android:layout_marginRight="15dp"
|
||
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior" />
|
||
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="44dp"
|
||
|
|
android:layout_marginLeft="15dp"
|
||
|
|
android:layout_marginRight="15dp"
|
||
|
|
android:layout_marginBottom="20dp"
|
||
|
|
android:background="@mipmap/dt_input_bg"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:paddingStart="10dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="24dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:src="@mipmap/icon_input" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/et_text"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_marginStart="10dp"
|
||
|
|
android:layout_marginEnd="5dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:background="@color/translant"
|
||
|
|
android:hint="说点什么"
|
||
|
|
android:textColor="@color/color333333"
|
||
|
|
android:textColorHint="@color/color999999"
|
||
|
|
android:textSize="@dimen/sp_14" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tv_send"
|
||
|
|
android:layout_width="80dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:background="@drawable/shape_butt_main_8"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="发送"
|
||
|
|
android:textColor="@color/color333333"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</layout>
|