<style name="SendbirdBody3OnDark01">
sans-serif
normal
14sp
6sp
#ffffff
</style>
<item name="android:textColor">#ffffff</item>
When Android: textColor is # ffffff, I cannot display white text in my chat messages.
MyUserMessageView(binding.tvMessage)-->ViewUtils editedTextMarkUIConfig.bind-->
if (textColor != UNDEFINED_RESOURCE_ID) {
spannable.setSpan(ForegroundColorSpan(textColor), start, end, SpannableString.SPAN_EXCLUSIVE_EXCLUSIVE)
}
When textColor is # ffffff, textColor=-1, so this judgment will hold, and the color will not be set to prevent white from being assigned a value
When Android: textColor is # ffffff, I cannot display white text in my chat messages.
MyUserMessageView(binding.tvMessage)-->ViewUtils editedTextMarkUIConfig.bind-->
if (textColor != UNDEFINED_RESOURCE_ID) {
spannable.setSpan(ForegroundColorSpan(textColor), start, end, SpannableString.SPAN_EXCLUSIVE_EXCLUSIVE)
}
When textColor is # ffffff, textColor=-1, so this judgment will hold, and the color will not be set to prevent white from being assigned a value