[android-developers] android:alpha not respected for pre-Lollipop vector graphics
I am using support library 23.4.0 for VectorDrawable support and am finding that the alpha property is not being respected for pre-Lollipop vector graphics. Alpha channels are displayed correctly for Lollipop. I am using app:srcCompat where required and am extending AppCompatActivity. Am I missing a configuration step? Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/2f04b9aa-e384-490d-a6b7-8a1cf1554205%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: VectorDrawable android:tint alternative for API < 21?
Additionally, why is it that the @color tag is not backwards compatible for the fillColor parameter? I would like to be able to change the color of my icons depending on the build variant, but it seems like I am forced to hard code the hex value. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/0b546c98-1d9b-437e-8e3f-8db629b95404%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] VectorDrawable android:tint alternative for API < 21?
Hi everyone, I am currently trying to convert all of my graphics into VectorDrawables and am having a hard time running on KitKat devices. I would like to display white icons. The developer page suggests setting the default color to black (android:fillColor="#FF00") and using the android:tint property to set the desired color. However, this property is not supported for devices below API 21 and all of the icons appear black. Is there an alternative method for accomplishing this? Thanks! Diane -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/789e1c80-7bb3-413e-ad77-b5532e9993e9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.