礼物增加空的布局
This commit is contained in:
parent
ea558cb22f
commit
de9901707c
@ -156,7 +156,15 @@
|
||||
app:layout_constraintDimensionRatio="1.56"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
|
||||
<View
|
||||
android:id="@+id/emptyBg"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:background="#ff171724"
|
||||
app:layout_constraintTop_toTopOf="@+id/giftRecyclerView"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/giftRecyclerView"
|
||||
app:layout_constraintStart_toStartOf="@+id/giftRecyclerView"
|
||||
app:layout_constraintEnd_toEndOf="@+id/giftRecyclerView"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/emptyImg"
|
||||
@ -185,7 +193,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
app:constraint_referenced_ids="emptyImg,emptyTv"
|
||||
app:constraint_referenced_ids="emptyBg,emptyImg,emptyTv"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<!--礼物列表无数据时候 -->
|
||||
|
@ -372,7 +372,7 @@ public class LiveGiftPopup2 extends AbsDialogFragment {
|
||||
// liveGiftModel= mWrapGiftList.get(0);
|
||||
hideLianBtn();
|
||||
}else {
|
||||
emptyGroup.setVisibility(View.INVISIBLE);
|
||||
emptyGroup.setVisibility(View.VISIBLE);
|
||||
Log.i("LiveGiftPopup2", "包裹为空");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user