colordrawable Questions

3

Solved

I'm trying to set the background tint of a button programmatically, not to a color resource as done here, but instead to a hex value. At the moment, I have converted a hex value into a ColorDrawabl...
Junco asked 10/2, 2018 at 3:49

7

Solved

I am trying to convert a hex value to an int so I can create a new color drawable. I'm not sure if this is possible, but according to the documentation, it should. It plainly asks for public Col...
Cotopaxi asked 16/10, 2013 at 15:35

1

I have a code snippet to show you below and I am trying to change view's(v) background. I'll get color code from a TextView(dragged) and change View(v)'s background by using this code. But I get an...
Muddle asked 19/2, 2014 at 12:6
1

© 2022 - 2024 — McMap. All rights reserved.