fix(feed): 콘텐츠 카드 레이아웃을 보완한다
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user