라이브 만들기 액티비티
- 요즘라이브 컬러에서 소다라이브 컬러로 변경
This commit is contained in:
@@ -187,36 +187,36 @@ class TextMessageFragment : BaseFragment<FragmentTextMessageBinding>(
|
||||
when (it) {
|
||||
MessageBox.SENT -> {
|
||||
binding.tvSent.setBackgroundResource(
|
||||
R.drawable.bg_round_corner_16_7_transparent_9970ff
|
||||
R.drawable.bg_round_corner_16_7_transparent_3bb9f1
|
||||
)
|
||||
binding.tvSent.setTextColor(
|
||||
ContextCompat.getColor(
|
||||
requireContext(),
|
||||
R.color.color_9970ff
|
||||
R.color.color_3bb9f1
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
MessageBox.RECEIVE -> {
|
||||
binding.tvReceive.setBackgroundResource(
|
||||
R.drawable.bg_round_corner_16_7_transparent_9970ff
|
||||
R.drawable.bg_round_corner_16_7_transparent_3bb9f1
|
||||
)
|
||||
binding.tvReceive.setTextColor(
|
||||
ContextCompat.getColor(
|
||||
requireContext(),
|
||||
R.color.color_9970ff
|
||||
R.color.color_3bb9f1
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
MessageBox.KEEP -> {
|
||||
binding.tvKeep.setBackgroundResource(
|
||||
R.drawable.bg_round_corner_16_7_transparent_9970ff
|
||||
R.drawable.bg_round_corner_16_7_transparent_3bb9f1
|
||||
)
|
||||
binding.tvKeep.setTextColor(
|
||||
ContextCompat.getColor(
|
||||
requireContext(),
|
||||
R.color.color_9970ff
|
||||
R.color.color_3bb9f1
|
||||
)
|
||||
)
|
||||
}
|
||||
|
@@ -313,36 +313,36 @@ class VoiceMessageFragment : BaseFragment<FragmentVoiceMessageBinding>(
|
||||
when (it) {
|
||||
MessageBox.SENT -> {
|
||||
binding.tvSent.setBackgroundResource(
|
||||
R.drawable.bg_round_corner_16_7_transparent_9970ff
|
||||
R.drawable.bg_round_corner_16_7_transparent_3bb9f1
|
||||
)
|
||||
binding.tvSent.setTextColor(
|
||||
ContextCompat.getColor(
|
||||
requireContext(),
|
||||
R.color.color_9970ff
|
||||
R.color.color_3bb9f1
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
MessageBox.RECEIVE -> {
|
||||
binding.tvReceive.setBackgroundResource(
|
||||
R.drawable.bg_round_corner_16_7_transparent_9970ff
|
||||
R.drawable.bg_round_corner_16_7_transparent_3bb9f1
|
||||
)
|
||||
binding.tvReceive.setTextColor(
|
||||
ContextCompat.getColor(
|
||||
requireContext(),
|
||||
R.color.color_9970ff
|
||||
R.color.color_3bb9f1
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
MessageBox.KEEP -> {
|
||||
binding.tvKeep.setBackgroundResource(
|
||||
R.drawable.bg_round_corner_16_7_transparent_9970ff
|
||||
R.drawable.bg_round_corner_16_7_transparent_3bb9f1
|
||||
)
|
||||
binding.tvKeep.setTextColor(
|
||||
ContextCompat.getColor(
|
||||
requireContext(),
|
||||
R.color.color_9970ff
|
||||
R.color.color_3bb9f1
|
||||
)
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user