开播
tips无数据则隐藏
This commit is contained in:
parent
53f26aee68
commit
34a8637c9e
@ -351,6 +351,8 @@ public class LiveNewReadySwViewHolder extends AbsViewHolder implements View.OnCl
|
|||||||
liveOpenVf.addView(weekView);
|
liveOpenVf.addView(weekView);
|
||||||
}
|
}
|
||||||
liveOpenVf.startFlipping();
|
liveOpenVf.startFlipping();
|
||||||
|
}else {
|
||||||
|
findViewById(R.id.tips).setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="36dp">
|
tools:layout_height="34dp"
|
||||||
|
android:layout_height="34dp">
|
||||||
|
|
||||||
<com.yunbao.common.views.weight.ClipPathCircleImage
|
<com.yunbao.common.views.weight.ClipPathCircleImage
|
||||||
android:id="@+id/avatar"
|
android:id="@+id/avatar"
|
||||||
|
@ -124,8 +124,8 @@
|
|||||||
<!-- 这些事靠右的-->
|
<!-- 这些事靠右的-->
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/btn_close"
|
android:id="@+id/btn_close"
|
||||||
android:layout_width="32dp"
|
android:layout_width="29dp"
|
||||||
android:layout_height="32dp"
|
android:layout_height="29dp"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
android:src="@mipmap/icon_live_close_4"
|
android:src="@mipmap/icon_live_close_4"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
@ -135,8 +135,8 @@
|
|||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/user_more"
|
android:id="@+id/user_more"
|
||||||
android:layout_width="32dp"
|
android:layout_width="29dp"
|
||||||
android:layout_height="32dp"
|
android:layout_height="29dp"
|
||||||
android:layout_marginEnd="6dp"
|
android:layout_marginEnd="6dp"
|
||||||
android:src="@mipmap/live_users_more_2"
|
android:src="@mipmap/live_users_more_2"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
@ -145,24 +145,24 @@
|
|||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/user_recyclerView"
|
android:id="@+id/user_recyclerView"
|
||||||
android:layout_width="108dp"
|
android:layout_width="102dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="4dp"
|
android:layout_marginEnd="2dp"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:overScrollMode="never"
|
android:overScrollMode="never"
|
||||||
android:visibility="visible"
|
android:visibility="visible"
|
||||||
tools:listitem="@layout/item_live_user1"
|
tools:listitem="@layout/item_live_user1"
|
||||||
|
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/user_more"
|
app:layout_constraintEnd_toStartOf="@+id/user_more"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
tools:itemCount="4" />
|
|
||||||
|
|
||||||
<com.makeramen.roundedimageview.RoundedImageView
|
<com.makeramen.roundedimageview.RoundedImageView
|
||||||
android:id="@+id/user_guard"
|
android:id="@+id/user_guard"
|
||||||
android:layout_width="30dp"
|
android:layout_width="29dp"
|
||||||
android:layout_height="30dp"
|
android:layout_height="29dp"
|
||||||
android:layout_centerInParent="true"
|
android:layout_centerInParent="true"
|
||||||
android:layout_marginEnd="6dp"
|
android:layout_marginEnd="4dp"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
android:src="@mipmap/img_guardian_empty"
|
android:src="@mipmap/img_guardian_empty"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
@ -174,8 +174,8 @@
|
|||||||
|
|
||||||
<com.opensource.svgaplayer.SVGAImageView
|
<com.opensource.svgaplayer.SVGAImageView
|
||||||
android:id="@+id/gift_svga"
|
android:id="@+id/gift_svga"
|
||||||
android:layout_width="0dp"
|
android:layout_width="33dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="33dp"
|
||||||
android:src="@mipmap/img_guardian_online"
|
android:src="@mipmap/img_guardian_online"
|
||||||
app:layout_constraintDimensionRatio="1"
|
app:layout_constraintDimensionRatio="1"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
@ -252,7 +252,7 @@
|
|||||||
android:layout_height="23dp"
|
android:layout_height="23dp"
|
||||||
android:layout_below="@+id/lin"
|
android:layout_below="@+id/lin"
|
||||||
android:layout_marginStart="12dp"
|
android:layout_marginStart="12dp"
|
||||||
android:layout_marginTop="9dp"
|
android:layout_marginTop="6dp"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
<!--热度-->
|
<!--热度-->
|
||||||
@ -385,9 +385,9 @@
|
|||||||
android:id="@+id/topLayout2"
|
android:id="@+id/topLayout2"
|
||||||
layout="@layout/view_live_room_part2"
|
layout="@layout/view_live_room_part2"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="36dp"
|
android:layout_height="30dp"
|
||||||
android:layout_below="@+id/topLayout1"
|
android:layout_below="@+id/topLayout1"
|
||||||
android:layout_marginTop="5dp" />
|
android:layout_marginTop="6dp" />
|
||||||
<!-- 第二条目 -->
|
<!-- 第二条目 -->
|
||||||
<!-- <LinearLayout-->
|
<!-- <LinearLayout-->
|
||||||
<!-- android:id="@+id/topLayout2"-->
|
<!-- android:id="@+id/topLayout2"-->
|
||||||
@ -1777,8 +1777,9 @@
|
|||||||
android:id="@+id/anchor_say_layout"
|
android:id="@+id/anchor_say_layout"
|
||||||
layout="@layout/sim_live_room_anchor_say1"
|
layout="@layout/sim_live_room_anchor_say1"
|
||||||
android:layout_width="96dp"
|
android:layout_width="96dp"
|
||||||
|
android:layout_marginTop="30dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="170dp"
|
android:layout_below="@+id/topLayout2"
|
||||||
android:layout_marginStart="12dp"
|
android:layout_marginStart="12dp"
|
||||||
android:visibility="invisible"
|
android:visibility="invisible"
|
||||||
tools:visibility="visible"/>
|
tools:visibility="visible"/>
|
||||||
|
@ -174,6 +174,7 @@
|
|||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingEnd="20dp"
|
android:paddingEnd="20dp"
|
||||||
|
tools:visibility="visible"
|
||||||
app:layout_constraintEnd_toEndOf="@+id/contentLayout"
|
app:layout_constraintEnd_toEndOf="@+id/contentLayout"
|
||||||
app:layout_constraintStart_toStartOf="@+id/contentLayout"
|
app:layout_constraintStart_toStartOf="@+id/contentLayout"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/contentLayout">
|
app:layout_constraintTop_toBottomOf="@+id/contentLayout">
|
||||||
|
Loading…
Reference in New Issue
Block a user