From 004a5b2a532326b266bf0173d85c9fb007bad577 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Tue, 23 Jan 2024 11:14:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yunbao/common/event/FloatWarOrderEvent.java | 16 ++++++++++++++++ common/src/main/res/layout/activity_sud_game.xml | 11 ++++++----- .../main/res/layout/item_home_sud_game_list.xml | 6 +++--- .../layout/view_sud_game_chat_item_holder.xml | 1 + .../layout/view_sud_game_user_list_holder.xml | 10 +++++----- config.gradle | 4 ++-- .../com/yunbao/main/activity/MainActivity.java | 12 ++++++++++-- .../yunbao/main/views/MainHomeViewHolder.java | 10 +++++++--- 8 files changed, 50 insertions(+), 20 deletions(-) create mode 100644 common/src/main/java/com/yunbao/common/event/FloatWarOrderEvent.java diff --git a/common/src/main/java/com/yunbao/common/event/FloatWarOrderEvent.java b/common/src/main/java/com/yunbao/common/event/FloatWarOrderEvent.java new file mode 100644 index 000000000..73ddeda8f --- /dev/null +++ b/common/src/main/java/com/yunbao/common/event/FloatWarOrderEvent.java @@ -0,0 +1,16 @@ +package com.yunbao.common.event; + +import com.yunbao.common.bean.BaseModel; + +public class FloatWarOrderEvent extends BaseModel { + private boolean floatWarOrder; + + public boolean isFloatWarOrder() { + return floatWarOrder; + } + + public FloatWarOrderEvent setFloatWarOrder(boolean floatWarOrder) { + this.floatWarOrder = floatWarOrder; + return this; + } +} diff --git a/common/src/main/res/layout/activity_sud_game.xml b/common/src/main/res/layout/activity_sud_game.xml index 509fdd08c..57b2fa29c 100644 --- a/common/src/main/res/layout/activity_sud_game.xml +++ b/common/src/main/res/layout/activity_sud_game.xml @@ -21,7 +21,7 @@ android:layout_width="150dp" android:layout_height="50dp" android:layout_marginStart="23dp" - android:layout_marginTop="25dp" + android:layout_marginTop="28dp" android:background="@drawable/bg_live_sud_game_top_new" android:gravity="start|center_vertical"> @@ -146,14 +146,15 @@ + android:layout_height="70dp" + android:layout_marginTop="75dp"> + android:layout_height="match_parent" /> diff --git a/common/src/main/res/layout/item_home_sud_game_list.xml b/common/src/main/res/layout/item_home_sud_game_list.xml index 266e1d844..a15051431 100644 --- a/common/src/main/res/layout/item_home_sud_game_list.xml +++ b/common/src/main/res/layout/item_home_sud_game_list.xml @@ -5,7 +5,7 @@ android:layout_width="match_parent" android:layout_height="88dp" android:layout_marginStart="15dp" - + android:layout_marginTop="2dp" android:layout_marginEnd="15dp" android:background="@mipmap/background_home_sud_game_list" android:orientation="horizontal"> @@ -48,11 +48,11 @@ diff --git a/common/src/main/res/layout/view_sud_game_chat_item_holder.xml b/common/src/main/res/layout/view_sud_game_chat_item_holder.xml index d697f53ab..a79050490 100644 --- a/common/src/main/res/layout/view_sud_game_chat_item_holder.xml +++ b/common/src/main/res/layout/view_sud_game_chat_item_holder.xml @@ -15,6 +15,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="9dp" + android:paddingBottom="2dp" android:layout_marginEnd="5dp" android:layout_marginBottom="5dp" android:gravity="center_vertical" diff --git a/common/src/main/res/layout/view_sud_game_user_list_holder.xml b/common/src/main/res/layout/view_sud_game_user_list_holder.xml index d1cf29387..42c914407 100644 --- a/common/src/main/res/layout/view_sud_game_user_list_holder.xml +++ b/common/src/main/res/layout/view_sud_game_user_list_holder.xml @@ -9,8 +9,8 @@ @@ -18,14 +18,14 @@