setLightShadowIfAttrTrue

Sets the elevation if the supplied boolean attribute is true. If attrRes resolves to true the elevation is set to tt_shadow_elevation_light. If attrRes resolves to false the elevation is set to 0.0F. If attrRes is null the elevation is set to 0.0F.

Throws

if the given attribute cannot be found or doesn't refer to a valid boolean value.