roomorama / Caldroid

A better calendar for Android
Other
1.42k stars 532 forks source link

Read transparent of background drawable (PNG) as transparent #446

Closed timvahlbrock closed 5 years ago

timvahlbrock commented 7 years ago

Hey there, I want to use Caldroid in an App where the user is able to change the background Color of the Activity, but as I set the background drawable of the event the unset - normally transparent - part of the PNG is shown as grey. Does anyone know how to get the transparent parts of the drawable shown as transparent in the cell too? Greetings

Me

amorenew commented 7 years ago

@timvahlbrock check my fork https://github.com/amorenew/Caldroid/blob/master/sample.png