From 846e7c810f01abf007efee8f242ac58c359d06f0 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Thu, 1 Sep 2022 10:40:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=20=E7=9B=B4?= =?UTF-8?q?=E6=92=AD=E9=96=93UI=E4=BF=AE=E6=94=B9,=E7=A4=BC=E7=89=A9?= =?UTF-8?q?=E6=8E=92=E9=98=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../live/activity/LiveAudienceActivity.java | 7 +- .../res/layout/activity_live_audience.xml | 2 +- live/src/main/res/layout/guard_list.xml | 55 ++-- .../main/res/layout/item_user_more_info.xml | 242 +++++++++--------- live/src/main/res/values/strings.xml | 6 +- 5 files changed, 153 insertions(+), 159 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java index 8f2fa86df..9c84145ca 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java @@ -665,12 +665,7 @@ public class LiveAudienceActivity extends LiveActivity { liveFansFragment.show(getSupportFragmentManager(), "LiveGuardDialogFragment"); break; case GUARD: - LiveGuardDialogFragment liveGuardDialogFragment = new LiveGuardDialogFragment(); - liveGuardDialogFragment.setLiveGuardInfo(mLiveGuardInfo); - bundle.putString(Constants.LIVE_UID, mLiveUid); - bundle.putBoolean(Constants.ANCHOR, mIsAnchor); - liveGuardDialogFragment.setArguments(bundle); - liveGuardDialogFragment.show(getSupportFragmentManager(), "LiveGuardDialogFragment"); + openNewGuardListWindow(); break; case LIVE_WKS://周星榜 String weeklyStarUrl = CommonAppConfig.HOST + "/h5/activity/weekStar/index.html?&uid=" diff --git a/live/src/main/res/layout/activity_live_audience.xml b/live/src/main/res/layout/activity_live_audience.xml index 3c77a5a7f..dbdb835bb 100644 --- a/live/src/main/res/layout/activity_live_audience.xml +++ b/live/src/main/res/layout/activity_live_audience.xml @@ -21,7 +21,7 @@ android:id="@+id/mask" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="#70000000" /> + android:background="#80000000" /> - - + android:layout_marginLeft="10dp" /> + app:riv_oval="true" /> - + android:textSize="15sp" /> - - + + + @@ -81,38 +74,38 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="right"> + + android:textSize="12sp" /> + android:text="1" + android:textColor="#979797" + android:textSize="12sp" /> - diff --git a/live/src/main/res/layout/item_user_more_info.xml b/live/src/main/res/layout/item_user_more_info.xml index e52be8494..67b3c35e6 100644 --- a/live/src/main/res/layout/item_user_more_info.xml +++ b/live/src/main/res/layout/item_user_more_info.xml @@ -6,173 +6,179 @@ android:gravity="center_vertical" android:orientation="vertical"> - - - + + + android:text="觀眾" + android:textColor="#B1B1B1" + android:textSize="13sp" + android:visibility="gone" /> - - + android:layout_width="match_parent" + android:layout_height="69dp" + android:gravity="center_vertical" + android:orientation="horizontal"> - + - - - + android:layout_marginLeft="27dp" + android:gravity="center"> + + + + - - - - + - + android:layout_marginLeft="20dp" + android:orientation="vertical"> - + + + + + + + + + + + + + + + + - - + android:layout_height="wrap_content"> + android:id="@+id/icon" + android:layout_width="40dp" + android:layout_height="40dp" + android:layout_alignParentRight="true" + android:layout_marginLeft="25dp" + android:layout_marginRight="35dp" /> - + - - + - - - + - + android:textSize="10sp" /> + + - - - - - - - + diff --git a/live/src/main/res/values/strings.xml b/live/src/main/res/values/strings.xml index e9cb69fef..6174a9171 100644 --- a/live/src/main/res/values/strings.xml +++ b/live/src/main/res/values/strings.xml @@ -8,7 +8,7 @@ 未上榜 日榜 周榜 - 观众 - 观众 - 粉丝 + 觀眾 + 觀眾 + 粉絲