feat: 메인 홈
- 섹션 간의 간격 수정 - 기존: 밑에 있는 섹션에서 marginTop="48dp" - 변경: 위에 있는 섹션에서 marginBottom=48dp"
This commit is contained in:
@@ -1070,13 +1070,13 @@ class HomeFragment : BaseFragment<FragmentHomeBinding>(FragmentHomeBinding::infl
|
||||
|
||||
when (parent.getChildAdapterPosition(view)) {
|
||||
0 -> {
|
||||
outRect.top = 48f.dpToPx().toInt()
|
||||
outRect.top = 0
|
||||
outRect.bottom = 24f.dpToPx().toInt()
|
||||
}
|
||||
|
||||
curationAdapter.itemCount - 1 -> {
|
||||
outRect.top = 24f.dpToPx().toInt()
|
||||
outRect.bottom = 48f.dpToPx().toInt()
|
||||
outRect.bottom = 0
|
||||
}
|
||||
|
||||
else -> {
|
||||
|
||||
Reference in New Issue
Block a user