|
@@ -14,57 +14,17 @@
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
android:background="@drawable/bg_live_broadcast">
|
|
android:background="@drawable/bg_live_broadcast">
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:id="@+id/layoutHome"
|
|
|
|
|
|
|
+ <TextView
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
-
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:layout_width="@dimen/divider_48px"
|
|
|
|
|
- android:layout_height="@dimen/divider_43px"
|
|
|
|
|
- android:layout_marginStart="@dimen/divider_60px"
|
|
|
|
|
- android:layout_marginTop="@dimen/divider_36px"
|
|
|
|
|
- android:background="@mipmap/bg_home" />
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginStart="@dimen/divider_8px"
|
|
|
|
|
- android:layout_marginTop="@dimen/divider_32px"
|
|
|
|
|
- android:text="首页"
|
|
|
|
|
- android:textColor="@android:color/white"
|
|
|
|
|
- android:textSize="@dimen/divider_38px"
|
|
|
|
|
- android:textStyle="bold" />
|
|
|
|
|
-
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
-
|
|
|
|
|
- <Button
|
|
|
|
|
- android:id="@+id/btnLiveBroadcast"
|
|
|
|
|
- android:layout_width="@dimen/divider_237px"
|
|
|
|
|
- android:layout_height="@dimen/divider_68px"
|
|
|
|
|
- android:layout_marginTop="@dimen/divider_40px"
|
|
|
|
|
- android:background="@drawable/bg_live_broadcast_button"
|
|
|
|
|
- android:text="直播"
|
|
|
|
|
- android:textColor="#FF4974FF"
|
|
|
|
|
- android:textSize="@dimen/divider_34px"
|
|
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
-
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
- android:id="@+id/rvLiveBroadcast"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="0dp"
|
|
|
|
|
- android:layout_marginLeft="@dimen/divider_60px"
|
|
|
|
|
- android:layout_marginRight="@dimen/divider_60px"
|
|
|
|
|
|
|
+ android:text="直播详情"
|
|
|
|
|
+ android:textColor="@android:color/white"
|
|
|
|
|
+ android:textSize="@dimen/divider_36px"
|
|
|
|
|
+ android:textStyle="bold"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/btnLiveBroadcast" />
|
|
|
|
|
-
|
|
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|