https://kotlinlang.org logo
#android
Title
# android
a

adalbert

07/18/2018, 7:33 PM
hi! I encounter problem with vector drawable. I got asset - vector drawable with radius corners. I need to add shadow to this vector drawable, what is the best way? CardView, 9 patch?
stackoverflow 3
l

Lucas Ł

07/18/2018, 7:46 PM
I never liked the 9patch. You can set rounded corners for your card view, so I'd probably say that your drawable is an 'overkill'. You can also add gradients (shadow) to your vector drawable, check google Also this question is not really relevant to this slack group (kotlin). Check the description of the channel, there's a mention of a more 'Android platform' focused group
d

dawidhyzy

07/19/2018, 4:13 AM
>>Using Kotlin to build Android applications. Android Studio Integration. Android-specific Gradle. If not related to Kotlin, please consider using StackOverflow and/or http://android-united.community/.
6 Views