|
|
@@ -7,19 +7,61 @@
|
|
|
android:background="@drawable/room_bottom_dialog_bg"
|
|
|
android:paddingBottom="24dp">
|
|
|
|
|
|
- <androidx.appcompat.widget.AppCompatTextView
|
|
|
- android:id="@+id/tv_title"
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/cl_top"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/common_title_height"
|
|
|
- android:gravity="start|center_vertical"
|
|
|
- android:includeFontPadding="false"
|
|
|
- android:paddingHorizontal="16dp"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="14sp"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- tools:text="10人申请上麦" />
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:id="@+id/tv_title"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="start|center_vertical"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:paddingHorizontal="16dp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="14sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ tools:text="10人在房间内" />
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/btn_filter"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="30dp"
|
|
|
+ android:background="@drawable/room_bottom_item_bg"
|
|
|
+ android:paddingHorizontal="16dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:id="@+id/tv_filter"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="start|center_vertical"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:text="@string/room_playmate_category_filter"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="14sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:layout_width="13dp"
|
|
|
+ android:layout_height="13dp"
|
|
|
+ android:src="@drawable/common_go_white_ic"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/tv_filter"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
|
|
android:id="@+id/v_refresh"
|
|
|
@@ -27,7 +69,7 @@
|
|
|
android:layout_height="400dp"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/tv_title">
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/cl_top">
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
android:id="@+id/rv_list"
|
|
|
@@ -36,26 +78,15 @@
|
|
|
|
|
|
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
|
|
|
|
|
- <View
|
|
|
+ <com.adealink.weparty.commonui.widget.CommonEmptyErrorView
|
|
|
+ android:id="@+id/v_error_view"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="0dp"
|
|
|
- android:background="@drawable/room_bottom_mask_bg"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="@id/btn_cancel" />
|
|
|
-
|
|
|
- <com.adealink.weparty.commonui.widget.CommonButton
|
|
|
- android:id="@+id/btn_cancel"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="@dimen/common_button_height"
|
|
|
- android:layout_marginHorizontal="20dp"
|
|
|
- app:common_button_type="room_cancel"
|
|
|
+ android:visibility="gone"
|
|
|
app:layout_constraintBottom_toBottomOf="@id/v_refresh"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:text="@string/room_apply_mic_cancel"
|
|
|
- app:textSize="16sp" />
|
|
|
+ app:layout_constraintEnd_toEndOf="@id/v_refresh"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/v_refresh"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/v_refresh" />
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|