fix(widget): CapsuleTab 선택 색상을 보정한다

This commit is contained in:
2026-06-10 14:26:45 +09:00
parent ee703eb13a
commit 2c30da8110
2 changed files with 55 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ class CapsuleTabBarView @JvmOverloads constructor(
text = label
isSelected = selected
setTextAppearance(R.style.Typography_Body5)
setTextColor(ContextCompat.getColor(context, R.color.white))
setTextColor(ContextCompat.getColor(context, if (selected) R.color.black else R.color.white))
background = ContextCompat.getDrawable(
context,
if (selected) R.drawable.bg_capsule_tab_selected else R.drawable.bg_capsule_tab_normal