fix:修复游戏麦位布局问题
This commit is contained in:
@@ -83,12 +83,11 @@
|
||||
android:id="@+id/layout_mic"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/layout_left_top_menu"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginTop="75dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:visibility="invisible"
|
||||
android:id="@+id/tv_show_mini_mic"
|
||||
android:layout_width="26dp"
|
||||
android:layout_height="23dp"
|
||||
@@ -96,7 +95,8 @@
|
||||
android:background="@drawable/bg_mini_mic_entrance"
|
||||
android:drawableStart="@drawable/ic_room_mic_right"
|
||||
android:gravity="center"
|
||||
android:paddingEnd="3dp" />
|
||||
android:paddingEnd="3dp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_mic_view"
|
||||
|
@@ -6,7 +6,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false"
|
||||
android:paddingTop="5dp"
|
||||
tools:background="@color/color_activity_blue_bg">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
|
@@ -789,8 +789,7 @@ public final class AvRoomDataManager {
|
||||
* @return 游戏坑位, 最少6个, 低于6个不支持
|
||||
*/
|
||||
public int getMgMicNum() {
|
||||
return AvRoomDataManager.get().mCurrentRoomInfo == null ? GAME_DEF_MIC_COUNT :
|
||||
Math.max(AvRoomDataManager.get().mCurrentRoomInfo.getMgMicNum(), GAME_DEF_MIC_COUNT);
|
||||
return AvRoomDataManager.get().mCurrentRoomInfo == null ? GAME_DEF_MIC_COUNT : AvRoomDataManager.get().mCurrentRoomInfo.getMgMicNum();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user