콘텐츠 메인 탭 - 채널별 ***
- 채널 표시 간격 22dp로 수정
This commit is contained in:
@@ -42,7 +42,7 @@ class ContentRankCreatorAdapter(
|
||||
}
|
||||
|
||||
if (item.creatorId == selectedCreatorId) {
|
||||
binding.ivBg.setImageResource(R.drawable.bg_circle_3bb9f1)
|
||||
binding.ivBg.setImageResource(R.drawable.bg_round_corner_33_3_transparent_3bb9f1)
|
||||
binding.ivBg.visibility = View.VISIBLE
|
||||
binding.tvNickname.setTextColor(
|
||||
ContextCompat.getColor(
|
||||
|
||||
@@ -413,17 +413,17 @@ class AudioContentMainTabAsmrFragment : BaseFragment<FragmentAudioContentMainTab
|
||||
when (parent.getChildAdapterPosition(view)) {
|
||||
0 -> {
|
||||
outRect.left = 0
|
||||
outRect.right = 4f.dpToPx().toInt()
|
||||
outRect.right = 11f.dpToPx().toInt()
|
||||
}
|
||||
|
||||
contentRankCreatorAdapter.itemCount - 1 -> {
|
||||
outRect.left = 4f.dpToPx().toInt()
|
||||
outRect.left = 11f.dpToPx().toInt()
|
||||
outRect.right = 0
|
||||
}
|
||||
|
||||
else -> {
|
||||
outRect.left = 4f.dpToPx().toInt()
|
||||
outRect.right = 4f.dpToPx().toInt()
|
||||
outRect.left = 11f.dpToPx().toInt()
|
||||
outRect.right = 11f.dpToPx().toInt()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -433,17 +433,17 @@ class AudioContentMainTabContentFragment : BaseFragment<FragmentAudioContentMain
|
||||
when (parent.getChildAdapterPosition(view)) {
|
||||
0 -> {
|
||||
outRect.left = 0
|
||||
outRect.right = 4f.dpToPx().toInt()
|
||||
outRect.right = 11f.dpToPx().toInt()
|
||||
}
|
||||
|
||||
contentRankCreatorAdapter.itemCount - 1 -> {
|
||||
outRect.left = 4f.dpToPx().toInt()
|
||||
outRect.left = 11f.dpToPx().toInt()
|
||||
outRect.right = 0
|
||||
}
|
||||
|
||||
else -> {
|
||||
outRect.left = 4f.dpToPx().toInt()
|
||||
outRect.right = 4f.dpToPx().toInt()
|
||||
outRect.left = 11f.dpToPx().toInt()
|
||||
outRect.right = 11f.dpToPx().toInt()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -688,17 +688,17 @@ class AudioContentMainTabHomeFragment : BaseFragment<FragmentAudioContentMainTab
|
||||
when (parent.getChildAdapterPosition(view)) {
|
||||
0 -> {
|
||||
outRect.left = 0
|
||||
outRect.right = 4f.dpToPx().toInt()
|
||||
outRect.right = 11f.dpToPx().toInt()
|
||||
}
|
||||
|
||||
contentRankCreatorAdapter.itemCount - 1 -> {
|
||||
outRect.left = 4f.dpToPx().toInt()
|
||||
outRect.left = 11f.dpToPx().toInt()
|
||||
outRect.right = 0
|
||||
}
|
||||
|
||||
else -> {
|
||||
outRect.left = 4f.dpToPx().toInt()
|
||||
outRect.right = 4f.dpToPx().toInt()
|
||||
outRect.left = 11f.dpToPx().toInt()
|
||||
outRect.right = 11f.dpToPx().toInt()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -298,17 +298,17 @@ class AudioContentMainTabReplayFragment : BaseFragment<FragmentAudioContentMainT
|
||||
when (parent.getChildAdapterPosition(view)) {
|
||||
0 -> {
|
||||
outRect.left = 0
|
||||
outRect.right = 4f.dpToPx().toInt()
|
||||
outRect.right = 11f.dpToPx().toInt()
|
||||
}
|
||||
|
||||
contentRankCreatorAdapter.itemCount - 1 -> {
|
||||
outRect.left = 4f.dpToPx().toInt()
|
||||
outRect.left = 11f.dpToPx().toInt()
|
||||
outRect.right = 0
|
||||
}
|
||||
|
||||
else -> {
|
||||
outRect.left = 4f.dpToPx().toInt()
|
||||
outRect.right = 4f.dpToPx().toInt()
|
||||
outRect.left = 11f.dpToPx().toInt()
|
||||
outRect.right = 11f.dpToPx().toInt()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -559,17 +559,17 @@ class AudioContentMainTabSeriesFragment : BaseFragment<FragmentAudioContentMainT
|
||||
when (parent.getChildAdapterPosition(view)) {
|
||||
0 -> {
|
||||
outRect.left = 0
|
||||
outRect.right = 4f.dpToPx().toInt()
|
||||
outRect.right = 11f.dpToPx().toInt()
|
||||
}
|
||||
|
||||
recommendSeriesCreatorAdapter.itemCount - 1 -> {
|
||||
outRect.left = 4f.dpToPx().toInt()
|
||||
outRect.left = 11f.dpToPx().toInt()
|
||||
outRect.right = 0
|
||||
}
|
||||
|
||||
else -> {
|
||||
outRect.left = 4f.dpToPx().toInt()
|
||||
outRect.right = 4f.dpToPx().toInt()
|
||||
outRect.left = 11f.dpToPx().toInt()
|
||||
outRect.right = 11f.dpToPx().toInt()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user