<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<include layout="@layout/item_status_bar" />
|
|
<FrameLayout
|
android:layout_width="match_parent"
|
android:layout_height="48dp">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/white"
|
android:gravity="center"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/tv_top_bar_middle"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:textColor="@color/text_black_1"
|
android:textSize="18sp"
|
android:textStyle="bold" />
|
|
|
<ImageView
|
android:id="@+id/iv_top_bar_clear"
|
android:layout_width="25dp"
|
android:layout_height="25dp"
|
android:layout_gravity="center"
|
android:layout_marginLeft="10dp"
|
android:src="@drawable/ic_msg_hint_clear" />
|
|
</LinearLayout>
|
|
<TextView
|
android:id="@+id/tv_top_bar_right"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="right|center_vertical"
|
android:layout_marginRight="15dp"
|
android:text="去旧版"
|
android:textColor="@color/text_black_1"
|
android:textSize="16sp"
|
android:visibility="gone" />
|
</FrameLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/trends_goods_bg" />
|
|
<include layout="@layout/item_yellow_notice" />
|
|
<FrameLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
android:id="@+id/srl_message"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginLeft="10dp"
|
android:layout_marginRight="10dp">
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/rv_message"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:descendantFocusability="blocksDescendants" />
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
<include layout="@layout/item_no_data" />
|
|
<include layout="@layout/item_error_net" />
|
|
<include layout="@layout/item_no_net" />
|
</FrameLayout>
|
</LinearLayout>
|