ispbox
09/23/2019, 3:06 PMcolors.xml
file (something like <color name="colorBlack">#000000</color>
)
But is there any better way having in mind that we try to eliminate xml files in our projects? 🙂 I'm thinking about some helper class with constant values:
const val Black = 0x000000.toInt()
Does it sound reasonable? Is it somehow better than xml? Or it really doesn't matter in practice? What do you think?louiscad
09/23/2019, 3:34 PMColor.BLACK
. That said, as long as the colors target only Android, I keep them in xml because I then have coloring in the IDE.wasyl
09/23/2019, 3:59 PMParis
library interesting, I think it’s aiming for styling the views programmaticallyispbox
09/23/2019, 6:58 PMispbox
09/23/2019, 7:21 PMlouiscad
09/24/2019, 6:44 AMribesg
09/24/2019, 8:58 AMispbox
09/25/2019, 2:18 PM