support start/end opacity on Layout