设置直播间女神说不能超出view

This commit is contained in:
老皮 2024-10-09 17:23:27 +08:00
parent aa0a2e38a7
commit ddcb757dc7
2 changed files with 4 additions and 2 deletions

View File

@ -21,12 +21,12 @@
<TextView <TextView
android:id="@+id/anchor_say_text" android:id="@+id/anchor_say_text"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="0dp"
android:layout_marginStart="8dp" android:layout_marginStart="8dp"
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:ellipsize="none" android:ellipsize="end"
android:gravity="center" android:gravity="center"
android:inputType="textMultiLine" android:inputType="textMultiLine"
android:maxEms="6" android:maxEms="6"

View File

@ -1492,6 +1492,7 @@
</FrameLayout> </FrameLayout>
<!--女神说-->
<include <include
android:id="@+id/anchor_say_layout" android:id="@+id/anchor_say_layout"
layout="@layout/sim_live_room_anchor_say" layout="@layout/sim_live_room_anchor_say"
@ -1501,6 +1502,7 @@
android:layout_marginStart="5dp" android:layout_marginStart="5dp"
android:layout_marginBottom="-30dp" android:layout_marginBottom="-30dp"
android:background="@color/white" android:background="@color/white"
tools:visibility="visible"
android:visibility="invisible" /> android:visibility="invisible" />
<ImageView <ImageView