This is just a minor question to speed things up a little bit, but I'm wondering if I can reference other colours and add additional information in my XML file.
I know that this code works:
<color name="primary1">#708FA3</color>
<color name="primary1_transparent">@color/primary1</color>
But I'm wondering is there a way to add a level of transparency to primary1_transparent? Either by concatenation in the assignment or afterwards.
Obviously the time saving on this isn't significant so an awkward workaround isn't going to help much but it seems like a possibly existing feature/hack I can't find.
No comments:
Post a Comment