<?xml version="1.0" encoding="utf-8"?>
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
<View
|
android:id="@+id/center"
|
android:layout_width="1dp"
|
android:layout_height="15dp"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="parent"/>
|
<TextView
|
android:id="@+id/tv_photo"
|
style="@style/style_btn_action"
|
android:layout_width="0dp"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintStart_toEndOf="@id/center"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="10dp"
|
android:layout_marginTop="40dp"
|
android:layout_marginEnd="40dp"
|
android:text="发布图片"
|
android:layout_marginBottom="13dp"
|
app:layout_constraintBottom_toBottomOf="parent" />
|
<TextView
|
android:id="@+id/tv_video"
|
style="@style/style_btn_action"
|
android:layout_width="0dp"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toStartOf="@id/center"
|
android:layout_height="wrap_content"
|
android:layout_marginEnd="10dp"
|
android:layout_marginTop="40dp"
|
android:textColor="@color/colorPrimary"
|
app:layout_constraintBaseline_toBaselineOf="@id/tv_photo"
|
android:background="@drawable/bg_orange_line_20dp"
|
android:layout_marginStart="40dp"
|
android:text="发布视频" />
|
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:id="@+id/refreshLayout"
|
app:layout_constraintBottom_toTopOf="@id/tv_photo"
|
android:layout_marginBottom="10dp"
|
app:layout_constraintTop_toTopOf="parent"
|
android:orientation="vertical">
|
|
<com.scwang.smart.refresh.header.ClassicsHeader
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/rv_act"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
app:layout_constraintTop_toBottomOf="@id/et_search" />
|
<com.scwang.smart.refresh.footer.ClassicsFooter
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/dividing_line_color"
|
app:layout_constraintBottom_toTopOf="@id/tv_photo"
|
android:layout_marginBottom="10dp"
|
android:layout_marginHorizontal="14dp"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|