From f9030ffd13a8502505ce61ef5aecd083686b5e70 Mon Sep 17 00:00:00 2001 From: klaus Date: Fri, 3 Jul 2026 14:47:27 +0900 Subject: [PATCH] =?UTF-8?q?fix(home):=20On=20Air=20=EB=9D=BC=EC=9D=B4?= =?UTF-8?q?=EB=B8=8C=20=EC=95=84=EC=9D=B4=ED=85=9C=20UI=EB=A5=BC=20?= =?UTF-8?q?=EB=B3=B4=EC=99=84=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/home/ui/HomeFollowingLiveAdapter.kt | 3 - .../bg_home_following_live_capsule.xml | 8 ++ .../res/layout/item_home_following_live.xml | 134 +++++++++--------- 3 files changed, 74 insertions(+), 71 deletions(-) create mode 100644 app/src/main/res/drawable/bg_home_following_live_capsule.xml diff --git a/app/src/main/java/kr/co/vividnext/sodalive/v2/main/home/ui/HomeFollowingLiveAdapter.kt b/app/src/main/java/kr/co/vividnext/sodalive/v2/main/home/ui/HomeFollowingLiveAdapter.kt index 01cdf849..1f5390a1 100644 --- a/app/src/main/java/kr/co/vividnext/sodalive/v2/main/home/ui/HomeFollowingLiveAdapter.kt +++ b/app/src/main/java/kr/co/vividnext/sodalive/v2/main/home/ui/HomeFollowingLiveAdapter.kt @@ -8,7 +8,6 @@ import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import kr.co.vividnext.sodalive.R import kr.co.vividnext.sodalive.common.formatUtcRelativeTimeText -import kr.co.vividnext.sodalive.extensions.loadUrl import kr.co.vividnext.sodalive.v2.main.home.model.HomeFollowingLiveUiItem class HomeFollowingLiveAdapter( @@ -37,14 +36,12 @@ class HomeFollowingLiveAdapter( itemView: View, private val onClickItem: (HomeFollowingLiveUiItem) -> Unit ) : RecyclerView.ViewHolder(itemView) { - private val thumbnailImage = itemView.findViewById(R.id.iv_home_following_live_thumbnail) private val profileImage = itemView.findViewById(R.id.iv_home_following_live_creator_profile) private val titleText = itemView.findViewById(R.id.tv_home_following_live_title) private val nicknameText = itemView.findViewById(R.id.tv_home_following_live_creator_nickname) private val startedAtText = itemView.findViewById(R.id.tv_home_following_live_started_at) fun bind(item: HomeFollowingLiveUiItem) { - thumbnailImage.loadUrl(item.creatorProfileImageUrl) profileImage.loadHomeCreatorProfileImage(item.creatorProfileImageUrl) titleText.text = item.title nicknameText.text = item.creatorNickname diff --git a/app/src/main/res/drawable/bg_home_following_live_capsule.xml b/app/src/main/res/drawable/bg_home_following_live_capsule.xml new file mode 100644 index 00000000..9c83ff8d --- /dev/null +++ b/app/src/main/res/drawable/bg_home_following_live_capsule.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/app/src/main/res/layout/item_home_following_live.xml b/app/src/main/res/layout/item_home_following_live.xml index 0856af0c..61b050ff 100644 --- a/app/src/main/res/layout/item_home_following_live.xml +++ b/app/src/main/res/layout/item_home_following_live.xml @@ -1,38 +1,48 @@ - + android:layout_width="263dp" + android:layout_height="100dp" + android:background="@drawable/bg_home_following_live_capsule" + android:paddingStart="12dp" + android:paddingEnd="22dp"> - + - + + android:paddingHorizontal="@dimen/spacing_4" + android:paddingVertical="2dp"> + tools:ignore="HardcodedText" /> - - - - - - - - - + tools:text="00:00" /> - + + + + +