XML : Condition with xml property in java android

I have one question is it possible to check the condition with xml tribute or property. Example I have 2 picture: pict1, pict2 I want to check if pict1 have Alpha=0.5 then pict2 Alpha=1 else reverse it

Can any one tell me the solution.

note: the picture Alpha can be set by xml or set by java.

No comments:

Post a Comment