From b32a3e5ea38c06675801d74ac64f5190a3ec3506 Mon Sep 17 00:00:00 2001 From: klaus Date: Wed, 4 Feb 2026 18:00:41 +0900 Subject: [PATCH] =?UTF-8?q?=EB=9D=BC=EC=9D=B4=EB=B8=8C=20=EB=B0=A9?= =?UTF-8?q?=EC=9D=B4=2019=EA=B8=88=EC=9D=BC=20=EB=95=8C=20=EC=A0=9C?= =?UTF-8?q?=EB=AA=A9=20=EC=95=9E=EC=97=90=20=F0=9F=94=9E=20=EB=8C=80?= =?UTF-8?q?=EC=8B=A0=20=EB=B0=A9=ED=8C=A8(ic=5Fshield)=EA=B0=80=20?= =?UTF-8?q?=ED=91=9C=EC=8B=9C=EB=90=98=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sodalive/live/room/LiveRoomActivity.kt | 8 +++-- .../room/detail/LiveRoomDetailFragment.kt | 9 +++-- .../main/res/layout/activity_live_room.xml | 33 ++++++++++++++----- .../res/layout/fragment_live_room_detail.xml | 33 +++++++++++++++---- 4 files changed, 62 insertions(+), 21 deletions(-) diff --git a/app/src/main/java/kr/co/vividnext/sodalive/live/room/LiveRoomActivity.kt b/app/src/main/java/kr/co/vividnext/sodalive/live/room/LiveRoomActivity.kt index 245448e0..a4092294 100644 --- a/app/src/main/java/kr/co/vividnext/sodalive/live/room/LiveRoomActivity.kt +++ b/app/src/main/java/kr/co/vividnext/sodalive/live/room/LiveRoomActivity.kt @@ -763,12 +763,14 @@ class LiveRoomActivity : BaseActivity(ActivityLiveRoomB } viewModel.roomInfoLiveData.observe(this) { response -> - binding.tvTitle.text = if (response.isAdult) { - "\uD83D\uDD1E ${response.title}" + binding.ivShield.visibility = if (response.isAdult) { + View.VISIBLE } else { - response.title + View.GONE } + binding.tvTitle.text = response.title + binding.flDonation.visibility = if (response.creatorId != SharedPreferenceManager.userId) { View.VISIBLE diff --git a/app/src/main/java/kr/co/vividnext/sodalive/live/room/detail/LiveRoomDetailFragment.kt b/app/src/main/java/kr/co/vividnext/sodalive/live/room/detail/LiveRoomDetailFragment.kt index f5cf9220..f7a44c00 100644 --- a/app/src/main/java/kr/co/vividnext/sodalive/live/room/detail/LiveRoomDetailFragment.kt +++ b/app/src/main/java/kr/co/vividnext/sodalive/live/room/detail/LiveRoomDetailFragment.kt @@ -122,11 +122,14 @@ class LiveRoomDetailFragment( val locale = Locale(LanguageManager.getEffectiveLanguage(requireContext())) val wrappedContext = LocaleHelper.wrap(requireContext()) - binding.tvTitle.text = if (response.isAdult) { - "\uD83D\uDD1E ${response.title}" + binding.tvTitle.text = response.title + + binding.ivShield.visibility = if (response.isAdult) { + View.VISIBLE } else { - response.title + View.GONE } + binding.tvDate.text = response.beginDateTimeUtc.convertDateFormat( from = "yyyy-MM-dd'T'HH:mm:ss", to = wrappedContext.getString(R.string.screen_live_room_detail_date_format), diff --git a/app/src/main/res/layout/activity_live_room.xml b/app/src/main/res/layout/activity_live_room.xml index 2d8364a3..d8b06b75 100644 --- a/app/src/main/res/layout/activity_live_room.xml +++ b/app/src/main/res/layout/activity_live_room.xml @@ -336,16 +336,33 @@ android:layout_toEndOf="@+id/rl_creator_profile" android:orientation="vertical"> - + android:gravity="center_vertical" + android:orientation="horizontal" + tools:ignore="UseCompoundDrawables"> + + + + + - + android:gravity="center_vertical" + android:orientation="horizontal" + tools:ignore="UseCompoundDrawables"> + + + + +