code: private void obtainStyledAttributes(@Nullable final AttributeSet attributeSet) {
          TypedArray typedArray =
                  getContext().obtainStyledAttributes(attributeSet, R.styleable.FloatingActionButton);
  
          try {
              obtainSize(typedArray);
              obtainColor(typedArray);
              obtainActivatedColor(typedArray);
              obtainPressedColor(typedArray);
              obtainDisabledColor(typedArray);
              obtainIcon(typedArray);
              obtainVisibilityAnimationDuration(typedArray);
          } finally {
              typedArray.recycle();
          }
      }
docs: Obtains the view's attributes from a specific attribute set.
  
  @param attributeSet
  The attribute set, the view's attributes should be obtained from, as an instance of
  the type {@link AttributeSet} or null, if no attributes should be obtained