android-holo-colors icon indicating copy to clipboard operation
android-holo-colors copied to clipboard

Do not hardcode colors

Open juliocbcotta opened this issue 11 years ago • 2 comments

Hi, The android:textColorHighlight and android:textColor are hardcoded in the generated theme.

juliocbcotta avatar Jul 15 '14 03:07 juliocbcotta

Thanks for your issue.

Please, tell me what you would like instead ? You can even create a pull request.

jeromevdl avatar Jul 15 '14 19:07 jeromevdl

The individual styles of the Widgets should inherit from Widget.Holo.Light.<Name> (light theme) and Widget.Holo.<Name> (dark theme) in stead of Widget.<Name>. In the SDK they use selectors for textcolors. Now the disabled textcolor does not change to gray for a button for example.

RoelRoel avatar Jan 30 '15 12:01 RoelRoel