Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

Style selector text? #770

Open
Ryanauger95 opened this issue Apr 15, 2020 · 1 comment
Open

Style selector text? #770

Ryanauger95 opened this issue Apr 15, 2020 · 1 comment

Comments

@Ryanauger95
Copy link

I'm creating a selector like so:

activity?.selector("TITLE" , mList.map {
            "SOME TEXT"
        }) { _, i ->
            // DO SOMETHING
}

The docs don't mention styling at all. How can I style "SOME TEXT" so that it's a different color? I have tried Html.fromText("...") and that has not changed the color.

@eko8757
Copy link

eko8757 commented Jun 3, 2020

anko is deprecated now https://github.com/Kotlin/anko/blob/master/GOODBYE.md

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants