From 1019bac08571539d16926264fd98123bb9b78f13 Mon Sep 17 00:00:00 2001 From: ningwenqiang Date: Sat, 2 Nov 2024 13:41:20 +0800 Subject: [PATCH] =?UTF-8?q?UI=E7=BB=86=E8=8A=82=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/res/layout/item_home_sud_game_list2.xml | 2 +- .../com/yunbao/main/adapter/MainHomeComAdapter2.java | 5 +++++ main/src/main/res/drawable/bg_transform2white.xml | 7 +++++++ main/src/main/res/layout/view_homemain.xml | 10 +++++----- main/src/main/res/layout/view_main_home2.xml | 9 ++++++++- main/src/main/res/layout/view_main_home_com.xml | 4 ++-- main/src/main/res/layout/view_main_home_com_hot.xml | 4 +++- .../main/res/layout/view_main_home_sud_game_list2.xml | 8 +++++++- main/src/main/res/layout/view_main_me2.xml | 10 ++++++---- 9 files changed, 44 insertions(+), 15 deletions(-) create mode 100644 main/src/main/res/drawable/bg_transform2white.xml diff --git a/common/src/main/res/layout/item_home_sud_game_list2.xml b/common/src/main/res/layout/item_home_sud_game_list2.xml index b95f6027b..a684cb6d2 100644 --- a/common/src/main/res/layout/item_home_sud_game_list2.xml +++ b/common/src/main/res/layout/item_home_sud_game_list2.xml @@ -8,7 +8,7 @@ android:layout_marginStart="16dp" android:layout_marginTop="9dp" android:layout_marginEnd="16dp" - android:background="@mipmap/background_home_sud_game_list"> + android:background="@drawable/bg_f2edd7_10"> { if (bean == null) { return; } + if(position==0){ + topLine.setVisibility(View.GONE); + }else { + topLine.setVisibility(View.VISIBLE); + } ImgLoader.display(mContext, bean.getUser_avatar(), author); name.setText(bean.getUser_name()); time.setText(bean.getCreate_time()); diff --git a/main/src/main/res/drawable/bg_transform2white.xml b/main/src/main/res/drawable/bg_transform2white.xml new file mode 100644 index 000000000..0c7304aa5 --- /dev/null +++ b/main/src/main/res/drawable/bg_transform2white.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/main/src/main/res/layout/view_homemain.xml b/main/src/main/res/layout/view_homemain.xml index 910f96984..e2c5886d2 100644 --- a/main/src/main/res/layout/view_homemain.xml +++ b/main/src/main/res/layout/view_homemain.xml @@ -51,7 +51,7 @@ app:tbn_icon_size="25dp" app:tbn_text_color_checked="@color/colorMainTab" app:tbn_text_color_unchecked="@color/gray1" - app:tbn_text_size="11sp" + app:tbn_text_size="9sp" app:tbn_tip="@string/main_home" /> diff --git a/main/src/main/res/layout/view_main_home2.xml b/main/src/main/res/layout/view_main_home2.xml index b0e9a41a1..e1794fd05 100644 --- a/main/src/main/res/layout/view_main_home2.xml +++ b/main/src/main/res/layout/view_main_home2.xml @@ -4,9 +4,16 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@mipmap/bg_yola_index" android:orientation="vertical"> + + \ No newline at end of file diff --git a/main/src/main/res/layout/view_main_home_com_hot.xml b/main/src/main/res/layout/view_main_home_com_hot.xml index c4fc13261..d3d2292a4 100644 --- a/main/src/main/res/layout/view_main_home_com_hot.xml +++ b/main/src/main/res/layout/view_main_home_com_hot.xml @@ -19,8 +19,10 @@ android:layout_width="match_parent" android:layout_height="4dp" android:background="#F3F4F9" /> + diff --git a/main/src/main/res/layout/view_main_home_sud_game_list2.xml b/main/src/main/res/layout/view_main_home_sud_game_list2.xml index 237302711..e5138f7dd 100644 --- a/main/src/main/res/layout/view_main_home_sud_game_list2.xml +++ b/main/src/main/res/layout/view_main_home_sud_game_list2.xml @@ -4,10 +4,16 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - android:src="@mipmap/bg_yola_index" android:orientation="vertical"> +