直播间聊天列表动态改变高度
This commit is contained in:
@@ -244,6 +244,7 @@
|
||||
android:layout_marginBottom="4dp"
|
||||
android:padding="3dp"
|
||||
android:src="@mipmap/icon_live_close_3" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/hour_rank_layout"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -260,26 +261,27 @@
|
||||
<include
|
||||
layout="@layout/view_wish_list"
|
||||
android:layout_width="14dp"
|
||||
android:layout_weight="0.0"
|
||||
android:layout_height="14dp"
|
||||
android:visibility="gone"
|
||||
android:src="@mipmap/live_icon_wishlist" />
|
||||
android:layout_weight="0.0"
|
||||
android:src="@mipmap/live_icon_wishlist"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ViewFlipper
|
||||
android:id="@+id/hour_rank_list"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"
|
||||
android:layout_marginStart="-2dp"
|
||||
android:layout_marginEnd="6dp"
|
||||
android:layout_weight="2"
|
||||
android:flipInterval="5000"
|
||||
android:layout_marginEnd="6dp"
|
||||
android:inAnimation="@anim/anim_marquee_in"
|
||||
android:outAnimation="@anim/anim_marquee_out"/>
|
||||
android:outAnimation="@anim/anim_marquee_out" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="4dp"
|
||||
android:layout_gravity="center"
|
||||
|
||||
android:layout_height="8dp"
|
||||
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/live_icon_right_more" />
|
||||
|
||||
|
||||
@@ -287,18 +289,18 @@
|
||||
<!--贡献-->
|
||||
<LinearLayout
|
||||
android:id="@+id/btn_votes"
|
||||
android:layout_toRightOf="@id/hour_rank_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:layout_height="21dp"
|
||||
android:layout_below="@id/lin"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_toRightOf="@id/hour_rank_layout"
|
||||
android:background="@drawable/bg_live_item"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="5dp">
|
||||
android:paddingRight="5dp"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="13dp"
|
||||
@@ -712,14 +714,13 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="80dp"
|
||||
android:layout_marginBottom="50dp"
|
||||
android:gravity="top"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/chat_recyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="430dp"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none" />
|
||||
@@ -1868,7 +1869,8 @@
|
||||
android:id="@+id/room_fast_msg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"
|
||||
android:layout_alignParentBottom="true" />
|
||||
android:layout_alignParentBottom="true"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user