|
@@ -4,6 +4,7 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="#030417"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
<ImageView
|
|
@@ -20,17 +21,253 @@
|
|
|
android:layout_marginTop="25dp"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
- <FrameLayout
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- android:layout_marginTop="81dp"
|
|
|
+ <androidx.core.widget.NestedScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp">
|
|
|
-
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/swagoRv"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_marginTop="81dp"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent">
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent" />
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent">
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/clEnterMore"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="43dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <com.swago.baseswago.cusview.BoldTextView
|
|
|
+ android:id="@+id/tvEnterType"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:textColor="#fff"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:text="入场特效" />
|
|
|
+
|
|
|
+ <com.swago.baseswago.cusview.MediumTextView
|
|
|
+ android:id="@+id/tvEnterMore"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="2dp"
|
|
|
+ android:drawablePadding="2dp"
|
|
|
+ android:textColor="#99ffffff"
|
|
|
+ android:textSize="12sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/ivEnterMore"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:text="Show Less" />
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/ivEnterMore"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:src="@mipmap/ic_show_more"
|
|
|
+ android:layout_marginEnd="16dp"/>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rvEnter"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/clEnterMore"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/clAvatarMore"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="43dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/rvEnter">
|
|
|
+
|
|
|
+ <com.swago.baseswago.cusview.BoldTextView
|
|
|
+ android:id="@+id/tvAvatarType"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:textColor="#fff"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:text="头像框" />
|
|
|
|
|
|
- </FrameLayout>
|
|
|
+ <com.swago.baseswago.cusview.MediumTextView
|
|
|
+ android:id="@+id/tvAvatarMore"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="2dp"
|
|
|
+ android:drawablePadding="2dp"
|
|
|
+ android:textColor="#99ffffff"
|
|
|
+ android:textSize="12sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/ivAvatarMore"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:text="Show Less" />
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/ivAvatarMore"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:src="@mipmap/ic_show_more"
|
|
|
+ android:layout_marginEnd="16dp"/>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rvAvatar"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/clAvatarMore"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/clBadgeMore"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="43dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/rvAvatar">
|
|
|
+
|
|
|
+ <com.swago.baseswago.cusview.BoldTextView
|
|
|
+ android:id="@+id/tvBadgeType"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:textColor="#fff"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:text="徽章" />
|
|
|
+
|
|
|
+ <com.swago.baseswago.cusview.MediumTextView
|
|
|
+ android:id="@+id/tvBadgeMore"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="2dp"
|
|
|
+ android:drawablePadding="2dp"
|
|
|
+ android:textColor="#99ffffff"
|
|
|
+ android:textSize="12sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/ivBadgeMore"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:text="Show Less" />
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/ivBadgeMore"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:src="@mipmap/ic_show_more"
|
|
|
+ android:layout_marginEnd="16dp"/>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rvBadge"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/clBadgeMore"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/clBubbleMore"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="43dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/rvBadge">
|
|
|
+
|
|
|
+ <com.swago.baseswago.cusview.BoldTextView
|
|
|
+ android:id="@+id/tvBubbleType"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:textColor="#fff"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:text="聊天气泡" />
|
|
|
+
|
|
|
+ <com.swago.baseswago.cusview.MediumTextView
|
|
|
+ android:id="@+id/tvBubbleMore"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="2dp"
|
|
|
+ android:drawablePadding="2dp"
|
|
|
+ android:textColor="#99ffffff"
|
|
|
+ android:textSize="12sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/ivBubbleMore"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:text="Show Less" />
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/ivBubbleMore"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:src="@mipmap/ic_show_more"
|
|
|
+ android:layout_marginEnd="16dp"/>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rvBubble"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/clBubbleMore"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ </androidx.core.widget.NestedScrollView>
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/clEmpty"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_marginTop="81dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent">
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/ivEmpty"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@mipmap/state_error_empty"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="14sp"
|
|
|
+ android:textColor="@color/_ffffff"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/ivEmpty"
|
|
|
+ android:text="@string/There_is_nothing_here"
|
|
|
+ android:layout_marginTop="@dimen/dp_4"/>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|