code: private void obtainDisabledColor(@NonNull final TypedArray typedArray) {
          int defaultDisabledColor =
                  ContextCompat.getColor(getContext(), R.color.floating_action_button_disabled_color);
          disabledColor = typedArray
                  .getColor(R.styleable.FloatingActionButton_disabledColor, defaultDisabledColor);
      }
docs: Obtains the floating action button's disabled color from a specific typed array.
  
  @param typedArray
  The typed array, the disabled color should be obtained from, as an instance of the
  class {@link TypedArray}. The typed array may not be null