Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color does not change #145

Open
eucliddelphi opened this issue May 26, 2021 · 0 comments
Open

Color does not change #145

eucliddelphi opened this issue May 26, 2021 · 0 comments

Comments

@eucliddelphi
Copy link

Let's say I have a text "My Text" wich is in black color and it is represented like this:

<html>
    <body>
        <p>
            <span style="font-size: 18px;" ;><span style="color: #000000;">My Text</span></span>
        </p>
    </body>
</html> 

where the line ...span style="color: #000000;"... is responsible for that black color.
Now I change the color to red by selecting the text and try to show it on TextView, which, by the way, looks in HTML like this:

<html>
    <body>
        <p>
            <span style="font-size: 18px;" ;>
                <span style="color: #000000;"><span style="color: #ff0000;">My Text</span></span>
            </span>
        </p>
    </body>
</html>

As you can see, the previous (black) color will not be overwritten or replaced by the new (red) color. Rather simply added new span. One more thing is that after changing the color and tiring to show it on TextView, the new color is not rendered.
Please help. Thanks!

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

No branches or pull requests

1 participant