2022-07-18 15:31:45 +08:00
|
|
|
<?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"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/bg"
|
2022-10-22 17:42:17 +08:00
|
|
|
android:layout_width="wrap_content"
|
2022-07-18 15:31:45 +08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text_txt"
|
2022-11-18 16:39:09 +08:00
|
|
|
android:layout_width="wrap_content"
|
2022-07-18 15:31:45 +08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="left"
|
|
|
|
android:layout_marginLeft="9dp"
|
2023-03-21 17:42:34 +08:00
|
|
|
android:layout_marginTop="4dp"
|
2022-07-18 15:31:45 +08:00
|
|
|
android:layout_marginRight="9dp"
|
|
|
|
android:layout_marginBottom="6dp"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:visibility="visible"
|
|
|
|
tools:ignore="RtlHardcoded" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/view_follow"
|
|
|
|
android:layout_width="96dp"
|
|
|
|
android:layout_height="36dp"
|
|
|
|
android:background="@drawable/border_fd6052xml"
|
|
|
|
android:gravity="center|left"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:ignore="RtlHardcoded">
|
|
|
|
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
|
|
android:id="@+id/avatar"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="36dp"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
app:riv_border_color="@color/white"
|
|
|
|
app:riv_border_width="2dp"
|
|
|
|
app:riv_oval="true" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/follow"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="9dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:text="@string/add_follow"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/view_action_game"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/bg_live_chat_item"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginLeft="12dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:layout_marginRight="12dp"
|
|
|
|
android:layout_marginBottom="6dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tv_chat_avtive_name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="新年大作战近30场进攻怪物"
|
|
|
|
android:textColor="@color/blue_81cef2"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/v_chat_active_close"
|
|
|
|
android:layout_width="15dp"
|
|
|
|
android:layout_height="15dp"
|
|
|
|
android:background="@mipmap/icon_live_close_2" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="6dp">
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/rv_chat_active"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:overScrollMode="never"
|
|
|
|
android:scrollbars="none" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="21dp"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tv_chat_active_into"
|
|
|
|
android:layout_width="96dp"
|
|
|
|
android:layout_height="21dp"
|
|
|
|
android:background="@mipmap/bg_chat_active"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/add_into_active"
|
|
|
|
android:textColor="@color/gray1"
|
|
|
|
android:textSize="13sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="21dp"
|
|
|
|
android:layout_height="21dp"
|
|
|
|
android:background="@mipmap/icon_new" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/view_zg"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/bg_live_chat_item"
|
|
|
|
android:gravity="center|left"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingLeft="6dp"
|
|
|
|
android:paddingTop="3dp"
|
|
|
|
android:paddingRight="6dp"
|
|
|
|
android:paddingBottom="3dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:ignore="RtlHardcoded">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tv_zg_anchorname"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="9dp"
|
|
|
|
android:layout_marginRight="9dp"
|
|
|
|
android:text=""
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/img_zg_img"
|
|
|
|
android:layout_width="90dp"
|
|
|
|
android:layout_height="45dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|