docs: private void obtainStyledAttributes(@Nullable final AttributeSet attributeSet,
                                          @AttrRes final int defaultStyle,
                                          @StyleRes final int defaultStyleResource) {
          if (attributeSet != null) {
              TypedArray typedArray = getContext()
                      .obtainStyledAttributes(attributeSet, R.styleable.ScrimInsetsLayout,
                              defaultStyle, defaultStyleResource);
  
              try {
                  obtainInsetForeground(typedArray);
              } finally {
                  typedArray.recycle();
              }
          }
      }