fix(feed): 콘텐츠 카드 레이아웃을 보완한다

This commit is contained in:
2026-06-30 15:03:50 +09:00
parent 926e7eabd3
commit 61fe8a9fee
3 changed files with 39 additions and 6 deletions
@@ -35,6 +35,8 @@ class FeedContentView @JvmOverloads constructor(
titleText = findViewById(R.id.tv_feed_content_title)
categoryText = findViewById(R.id.tv_feed_content_category)
createdAtText = findViewById(R.id.tv_feed_content_created_at)
clipToOutline = true
outlineProvider = roundedOutlineProvider()
contentImageView().clipToOutline = true
contentImageView().outlineProvider = roundedOutlineProvider()
profileImageView().clipToOutline = true
@@ -105,6 +107,6 @@ class FeedContentView @JvmOverloads constructor(
private fun Int.dpToPx(): Int = (this * resources.displayMetrics.density).roundToInt()
private companion object {
const val CONTENT_IMAGE_WIDTH_DP = 163
const val CONTENT_IMAGE_WIDTH_DP = 88
}
}