feat: 메인 라이브, 메인 홈
- 섹션 제목 크기 26 -> 24 - 오디션 배너 변경 - 추천 채널 아이템 bg 톤다운
This commit is contained in:
@@ -12,7 +12,6 @@ import com.bumptech.glide.request.RequestOptions
|
||||
import kr.co.vividnext.sodalive.R
|
||||
import kr.co.vividnext.sodalive.databinding.ItemHomeCreatorBinding
|
||||
import kr.co.vividnext.sodalive.explorer.GetExplorerSectionCreatorResponse
|
||||
import kr.co.vividnext.sodalive.extensions.moneyFormat
|
||||
|
||||
class CreatorRankingAdapter(
|
||||
private val onClickItem: (Long) -> Unit
|
||||
@@ -38,7 +37,6 @@ class CreatorRankingAdapter(
|
||||
.into(binding.ivProfile)
|
||||
|
||||
binding.tvNickname.text = item.nickname
|
||||
binding.tvFollower.text = item.followerCount.moneyFormat()
|
||||
|
||||
when (index) {
|
||||
0 -> {
|
||||
|
||||
@@ -628,10 +628,10 @@ class HomeFragment : BaseFragment<FragmentHomeBinding>(FragmentHomeBinding::infl
|
||||
.ivAudition
|
||||
.layoutParams as LinearLayout.LayoutParams
|
||||
|
||||
val width = screenWidth
|
||||
val height = width * 198 / 352
|
||||
layoutParams.width = width
|
||||
layoutParams.height = height
|
||||
val width = screenWidth - 24.dpToPx()
|
||||
val height = width * 120 / 352
|
||||
layoutParams.width = width.toInt()
|
||||
layoutParams.height = height.toInt()
|
||||
|
||||
binding.ivAudition.layoutParams = layoutParams
|
||||
|
||||
|
||||
Reference in New Issue
Block a user