feat: 메인 라이브, 메인 홈

- 섹션 제목 크기 26 -> 24
- 오디션 배너 변경
- 추천 채널 아이템 bg 톤다운
This commit is contained in:
2025-07-19 04:02:29 +09:00
parent d7cc874684
commit c55cc68f5c
18 changed files with 91 additions and 80 deletions

View File

@@ -49,6 +49,10 @@ class AuditionFragment : BaseFragment<FragmentAuditionBinding>(
private fun setupView() {
loadingDialog = LoadingDialog(requireActivity(), layoutInflater)
binding.tvBack.setOnClickListener {
requireActivity().finish()
}
val recyclerView = binding.rvAudition
adapter = AuditionListAdapter {
if (SharedPreferenceManager.token.isNotBlank()) {

View File

@@ -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 -> {

View File

@@ -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