376 lines
17 KiB
XML
376 lines
17 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/lt_chat_one"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="6dp"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:id="@+id/feed_pg_it"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="28dp"
|
|
android:layout_margin="3dp"
|
|
android:gravity="center"
|
|
android:text="@string/click_moer" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/lt_chat_left"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="6dp"
|
|
android:visibility="gone">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="9dp"
|
|
android:layout_marginRight="48dp"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="48dp"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/back_puttime1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="3dp"
|
|
android:textColor="@color/gray3"
|
|
android:textSize="14sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginTop="3dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="42dp"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/back_touxiang1"
|
|
android:layout_width="42dp"
|
|
android:layout_height="42dp"
|
|
android:scaleType="centerCrop"
|
|
app:riv_oval="true" />
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="3dp">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/lt_text_left"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:id="@+id/back_name1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxLines="1"
|
|
android:text=""
|
|
android:textColor="@color/black1"
|
|
android:textSize="13sp"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/chatcontent_text1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/back_name1"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginTop="6dp"
|
|
android:background="@drawable/background_chat_msg2"
|
|
android:gravity="center|left"
|
|
android:paddingLeft="9dp"
|
|
android:paddingTop="9dp"
|
|
android:paddingRight="9dp"
|
|
android:paddingBottom="9dp"
|
|
android:text=""
|
|
android:textColor="@color/black3"
|
|
android:textSize="14sp"
|
|
android:visibility="visible" />
|
|
</LinearLayout>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/cv_chatcontent_img1"
|
|
android:layout_width="120dp"
|
|
android:layout_height="120dp"
|
|
android:layout_marginLeft="6dp"
|
|
android:visibility="gone"
|
|
app:cardBackgroundColor="@color/transparent"
|
|
app:cardCornerRadius="8dp"
|
|
app:cardElevation="0dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/chatcontent_img1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="fitXY"
|
|
android:adjustViewBounds="true"
|
|
android:visibility="visible" />
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rt_video_left"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="6dp"
|
|
android:visibility="gone">
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/cv_chatcontent_video_img1"
|
|
android:layout_width="120dp"
|
|
android:layout_height="120dp"
|
|
app:cardBackgroundColor="@color/transparent"
|
|
app:cardCornerRadius="8dp"
|
|
app:cardElevation="0dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/chatcontent_video_img1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="fitXY"
|
|
android:adjustViewBounds="true"
|
|
android:visibility="visible" />
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/pb_video_left"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp"
|
|
android:layout_centerInParent="true"
|
|
android:indeterminateBehavior="repeat"
|
|
android:indeterminateDrawable="@drawable/anim_loading"
|
|
android:indeterminateOnly="true"
|
|
android:visibility="gone" />
|
|
|
|
<ImageView
|
|
android:id="@+id/chatcontent_video_play1"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp"
|
|
android:layout_centerInParent="true"
|
|
android:background="@mipmap/icon_video_play"
|
|
android:visibility="gone" />
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/lt_chat_right"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="6dp"
|
|
android:visibility="gone">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="42dp"
|
|
android:layout_marginTop="9dp"
|
|
android:cacheColorHint="#00000000"
|
|
android:focusable="false"
|
|
android:focusableInTouchMode="false"
|
|
android:listSelector="#00000000"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="48dp"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/back_puttime"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="2dp"
|
|
android:textColor="@color/gray3"
|
|
android:textSize="14sp" />
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<View
|
|
android:id="@+id/view_feed_suc"
|
|
android:layout_width="21dp"
|
|
android:layout_height="21dp"
|
|
android:layout_marginTop="30dp"
|
|
android:background="@mipmap/ffsx"
|
|
android:visibility="gone" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rt_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="30dp"
|
|
android:layout_marginRight="12dp">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/right_duihuakuang"
|
|
android:layout_width="42dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true">
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/back_touxiang"
|
|
android:layout_width="42dp"
|
|
android:layout_height="42dp"
|
|
android:scaleType="centerCrop"
|
|
app:riv_oval="true" />
|
|
</RelativeLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/back_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginRight="48dp"
|
|
android:maxLines="1"
|
|
android:text=""
|
|
android:textColor="@color/gray3"
|
|
android:textSize="14sp"
|
|
android:visibility="gone" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/back_name"
|
|
android:layout_alignParentRight="true">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/lt_text_right"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginTop="3dp"
|
|
android:layout_marginRight="48dp"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:id="@+id/chatcontent_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/background_chat_msg"
|
|
android:clickable="true"
|
|
android:gravity="center|left"
|
|
android:paddingLeft="9dp"
|
|
android:paddingTop="9dp"
|
|
android:paddingRight="9dp"
|
|
android:paddingBottom="9dp"
|
|
android:text=""
|
|
android:textColor="@color/white"
|
|
android:textSize="13sp"
|
|
android:visibility="visible" />
|
|
</LinearLayout>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/cv_chatcontent_img"
|
|
android:layout_width="120dp"
|
|
android:layout_height="120dp"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginRight="48dp"
|
|
android:visibility="gone"
|
|
app:cardBackgroundColor="@color/transparent"
|
|
app:cardCornerRadius="8dp"
|
|
app:cardElevation="0dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/chatcontent_img"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="fitXY"
|
|
android:adjustViewBounds="true"
|
|
android:visibility="visible" />
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rt_video_right"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginRight="48dp"
|
|
android:visibility="gone">
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/cv_chatcontent_video_img"
|
|
android:layout_width="120dp"
|
|
android:layout_height="120dp"
|
|
app:cardBackgroundColor="@color/transparent"
|
|
app:cardCornerRadius="8dp"
|
|
app:cardElevation="0dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/chatcontent_video_img"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="fitXY"
|
|
android:adjustViewBounds="true"
|
|
android:visibility="visible" />
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/pb_video_right"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp"
|
|
android:layout_centerInParent="true"
|
|
android:indeterminateBehavior="repeat"
|
|
android:indeterminateDrawable="@drawable/anim_loading"
|
|
android:indeterminateOnly="true"
|
|
android:visibility="gone" />
|
|
|
|
<ImageView
|
|
android:id="@+id/chatcontent_video_play"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp"
|
|
android:layout_centerInParent="true"
|
|
android:background="@mipmap/icon_video_play"
|
|
android:visibility="gone" />
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/tv_withdraw"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:text="此消息已撤回"
|
|
android:visibility="gone" />
|
|
</LinearLayout> |