You must have two designs for the parent view. One of them will be βonβ, showing it as it is, and the other will be a βdisabledβ design that will contain a transparent background.
You cannot do this with alpha, as subviews inherit alpha. If a
parent.alpha = x
and
view.alpha = y,
then the actual alpha representation will be:
x * y
Lajos arpad
source share