<?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="match_parent"
|
android:background="@color/bg_main"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:background="@color/write"
|
android:layout_width="match_parent"
|
android:gravity="center"
|
android:layout_height="40dp"
|
android:layout_centerInParent="true"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/tv_line"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="南宁市"
|
android:textColor="#ff27282d"
|
android:textSize="14sp"
|
android:textStyle="bold" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:drawableEnd="@mipmap/icon_right"
|
android:textColor="#ff27282d"
|
android:layout_marginStart="10dp"
|
android:layout_marginEnd="10dp"
|
android:textSize="14sp"
|
android:textStyle="bold" />
|
|
|
<TextView
|
android:id="@+id/tv_line_two"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginEnd="10dp"
|
android:text="南宁市"
|
android:textColor="#ff27282d"
|
android:textSize="14sp"
|
android:textStyle="bold" />
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="60dp"
|
android:orientation="horizontal">
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/recycler_view_time"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1" />
|
|
<TextView
|
android:id="@+id/tv_more_time"
|
android:layout_width="53dp"
|
android:layout_height="match_parent"
|
android:background="#ECECEC"
|
android:drawableEnd="@mipmap/more_gray"
|
android:gravity="center_vertical"
|
android:textStyle="bold"
|
android:paddingStart="7dp"
|
android:paddingEnd="6dp"
|
android:text="更多\n日期"
|
android:textColor="#ff27282d"
|
android:textSize="12sp" />
|
|
</LinearLayout>
|
|
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
android:id="@+id/smart_refresh_layout"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
|
app:srlEnableAutoLoadMore="false">
|
|
<com.scwang.smartrefresh.layout.header.ClassicsHeader
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center" />
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/recycler_view_content"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
|
<com.scwang.smartrefresh.layout.footer.ClassicsFooter
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
app:srlTextNothing="没有更多了"
|
app:srlTextSizeTitle="12sp" />
|
|
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
|
</LinearLayout>
|