修复免费礼物提示gif位置

This commit is contained in:
Martin 2024-10-09 13:49:21 +08:00
parent 5383e2a4ea
commit 865bf58108

View File

@ -2825,7 +2825,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="60dp" android:layout_marginTop="60dp"
android:visibility="gone" /> android:visibility="gone" />
<!--免费礼物-->
<com.opensource.svgaplayer.SVGAImageView <com.opensource.svgaplayer.SVGAImageView
android:id="@+id/svga_new_user_gif" android:id="@+id/svga_new_user_gif"
android:layout_width="116dp" android:layout_width="116dp"
@ -2833,7 +2833,7 @@
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginRight="49dp" android:layout_marginRight="15dp"
android:layout_marginBottom="0dp" android:layout_marginBottom="0dp"
app:autoPlay="true" /> app:autoPlay="true" />
@ -3126,8 +3126,9 @@
<!--整蛊消息--> <!--整蛊消息-->
<RelativeLayout <RelativeLayout
android:id="@+id/tricky_layout_name" android:id="@+id/tricky_layout_name"
android:layout_width="wrap_content" android:layout_width="200dp"
android:layout_height="40dp" android:layout_height="40dp"
android:layout_marginBottom="5dp"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:layout_marginStart="13dp" android:layout_marginStart="13dp"
android:layout_marginTop="5dp" android:layout_marginTop="5dp"
@ -3146,10 +3147,11 @@
<com.yunbao.common.views.weight.MarqueeTextView <com.yunbao.common.views.weight.MarqueeTextView
android:id="@+id/tricky_text_name" android:id="@+id/tricky_text_name"
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_marginStart="5dp" android:layout_marginStart="5dp"
android:layout_toStartOf="@+id/tricky_join"
android:layout_toEndOf="@+id/tricky_coin" android:layout_toEndOf="@+id/tricky_coin"
android:ellipsize="marquee" android:ellipsize="marquee"
android:scrollHorizontally="true" android:scrollHorizontally="true"
@ -3162,8 +3164,8 @@
android:id="@+id/tricky_join" android:id="@+id/tricky_join"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="18dp" android:layout_height="18dp"
android:layout_toEndOf="@+id/tricky_text_name"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="10dp" android:layout_marginStart="10dp"
android:layout_marginEnd="14dp" android:layout_marginEnd="14dp"
android:background="@drawable/bg_live_room_tricky_hint_join" android:background="@drawable/bg_live_room_tricky_hint_join"
@ -3184,46 +3186,46 @@
<!--游戏消息--> <!--游戏消息-->
<RelativeLayout <RelativeLayout
android:id="@+id/sud_layout_name" android:id="@+id/sud_layout_name"
android:layout_width="wrap_content" android:layout_width="200dp"
android:layout_height="40dp" android:layout_height="40dp"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:layout_marginStart="13dp" android:layout_marginStart="13dp"
android:layout_marginTop="5dp"
android:background="@drawable/background_live_sud_hint" android:background="@drawable/background_live_sud_hint"
android:paddingStart="5dp"
android:visibility="gone" android:visibility="gone"
tools:visibility="visible"> tools:visibility="visible">
<ImageView <ImageView
android:id="@+id/sud_game_coin" android:id="@+id/sud_game_coin"
android:layout_width="22dp" android:layout_width="22dp"
android:layout_height="wrap_content" android:layout_height="16dp"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_marginStart="8dp"
android:layout_marginTop="2dp" android:layout_marginTop="2dp"
android:src="@mipmap/live_room_sud_hint_icon" /> android:src="@mipmap/live_room_sud_hint_icon" />
<com.yunbao.common.views.weight.MarqueeTextView <com.yunbao.common.views.weight.MarqueeTextView
android:id="@+id/sud_text_name" android:id="@+id/sud_text_name"
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_marginStart="5dp" android:layout_marginStart="5dp"
android:layout_toStartOf="@+id/sud_join"
android:layout_toEndOf="@+id/sud_game_coin" android:layout_toEndOf="@+id/sud_game_coin"
android:ellipsize="marquee" android:ellipsize="marquee"
android:scrollHorizontally="true" android:scrollHorizontally="true"
android:singleLine="true" android:singleLine="true"
tools:text="主播創建了【游戲名】房間" android:text="主播創建了【游戲名】房間,快來與主播同玩~"
android:textColor="@color/black1" android:textColor="#999999"
android:textSize="12dp" /> android:textSize="12dp" />
<TextView <TextView
android:id="@+id/sud_join" android:id="@+id/sud_join"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="18dp" android:layout_height="18dp"
android:layout_toEndOf="@+id/sud_text_name" android:layout_alignParentEnd="true"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_marginStart="10dp" android:layout_marginLeft="10dp"
android:layout_marginEnd="14dp" android:layout_marginEnd="20dp"
android:background="@drawable/bg_live_room_sud_hint_join" android:background="@drawable/bg_live_room_sud_hint_join"
android:ellipsize="end" android:ellipsize="end"
android:fontFamily="sans-serif-condensed-medium" android:fontFamily="sans-serif-condensed-medium"
@ -3239,12 +3241,11 @@
tools:visibility="visible" /> tools:visibility="visible" />
<ImageView <ImageView
android:visibility="gone"
android:id="@+id/iconSudClose" android:id="@+id/iconSudClose"
android:layout_width="12dp" android:layout_width="12dp"
android:layout_height="12dp" android:layout_height="12dp"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_toEndOf="@+id/sud_join" android:layout_alignParentEnd="true"
android:layout_marginTop="2dp" android:layout_marginTop="2dp"
android:layout_marginEnd="2dp" android:layout_marginEnd="2dp"
android:src="@mipmap/icon_live_room_sud_close" /> android:src="@mipmap/icon_live_room_sud_close" />