java - Extracting multiple colors from a TextView Android -
so know extract color textview use getcurrenttextcolor() textview contains multiple colors in it. how can preserve , extract data? need color blackbox testing application i.e when key pressed, part of textview changed not all. i'm trying test if part changed need extract data.
what need use gettext()
retrieve spannablestring. can extract span
s , each span
markup objects associated it. markup classes in android.text.style: foregroundcolorspan you're looking for.
Comments
Post a Comment