public void setApplyingOpacityToLayersEnabled(boolean isApplyingOpacityToLayersEnabled) {
    this.isApplyingOpacityToLayersEnabled = isApplyingOpacityToLayersEnabled;
  }
Sets whether to apply opacity to the each layer instead of shape.
<p>
Opacity is normally applied directly to a shape. In cases where translucent shapes overlap, applying opacity to a layer will be more accurate
at the expense of performance.
<p>
The default value is false.
<p>
Note: This process is very expensive. The performance impact will be reduced when hardware acceleration is enabled.

@see android.view.View#setLayerType(int, android.graphics.Paint)
@see LottieAnimationView#setRenderMode(RenderMode)
lottie/src/main/java/com/airbnb/lottie/LottieDrawable.java