Michael Frey

Finland

namibsoft.com

Age: 33

Student programmer.
Aug
15
awarded Benefactor
Aug
15
accepted Android TransitionDrawable not fading
Aug
15
comment Android TransitionDrawable not fading
I finally found out what's wrong. Thank you for pointing me in the right direction. I set the color of my paint using setColor(). My color contains an alpha value already, so any alpha value set by transitiondrawable is being overwritten by paint.setColor(). If you update your answer I'll award you the bounty :-)
Aug
15
revised Android TransitionDrawable not fading
deleted 164 characters in body
Aug
15
revised Android TransitionDrawable not fading
added 40 characters in body
Aug
14
comment Android TransitionDrawable not fading
Do you have a suggestion for the background. Should i simply not render it or can i apply the alpha to the background?
Aug
14
comment Android TransitionDrawable not fading
I added it to the original question
Aug
14
comment Android TransitionDrawable not fading
@ci_ I think that might be my issue. I have just added my custom drawable code to the question.
Aug
14
revised Android TransitionDrawable not fading
added 1749 characters in body
Aug
14
comment Android TransitionDrawable not fading
That is why I have the check for null and only set the background on the first draw. Each following draw uses the transition. Your code is certainly cleaner. Still refuses to fade though. I think my overwritten drawable might be implemented incorrectly.
Aug
11
awarded Promoter
Aug
10
revised View animate going behind other layout
corrected spelling
Aug
9
revised Android TransitionDrawable not fading
added 137 characters in body
Aug
8
revised Android TransitionDrawable not fading
deleted 4 characters in body
Aug
8
comment Android TransitionDrawable not fading
It gets called only when the user presses a button. i.e. Only once, and then not again until another button is pressed.
Aug
8
accepted Performance issue on MySql join where value between 2 columns
Aug
8
answered Performance issue on MySql join where value between 2 columns
Aug
8
asked Android TransitionDrawable not fading
Jul
23
awarded Popular Question
Jul
13
awarded Notable Question
1 2 3 4 5