vinaygaba / CreditCardView

💳 CreditCardView is an Android library that allows developers to create the UI which replicates an actual Credit Card.
797 stars 143 forks source link

Can't set plain background on Android 4.2 #35

Closed javichaques closed 6 years ago

javichaques commented 6 years ago

Hi,

I want a plain color background on the view. I set this:

android:background = "@drawable/cardbackground_plain"
<color name="card_background">#0060E2</color>

Works on Android 8, but fail on Android 4.2.2

Android 8 -> Image Android 4.2.2 -> Image

How can i solve it?

Thanks

javichaques commented 6 years ago

I upload this pull request to fix it.

https://github.com/vinaygaba/CreditCardView/pull/36