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

Customizable default color #14

Closed
johnjohndoe opened this issue Jul 11, 2015 · 2 comments
Closed

Customizable default color #14

johnjohndoe opened this issue Jul 11, 2015 · 2 comments

Comments

@johnjohndoe
Copy link
Contributor

It would be nice if users could set their own default text color. In many cases applications use the same color for all the links. If the default color has been set there is no need to repeatedly call Link#setTextColor() then.
Setting the default color could be implemented through resource attributes I suppose.

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <declare-styleable name="Theme">
        <attr name="text_link_default_color" format="color" />
    </declare-styleable>
</resources>
@klinker24
Copy link
Owner

Done, thanks for the suggestion, had never done anything quite like this before

e45c06e

@johnjohndoe
Copy link
Contributor Author

Nice. I will check it out.

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

2 participants