-
Notifications
You must be signed in to change notification settings - Fork 16
White cannot be set #147
Copy link
Copy link
Open
Description
<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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels