code: private void obtainShadowOrientation(@NonNull final TypedArray typedArray) {
          int defaultValue = getResources()
                  .getInteger(R.integer.elevation_shadow_view_shadow_orientation_default_value);
          orientation = Orientation.fromValue(typedArray
                  .getInteger(R.styleable.ElevationShadowView_shadowOrientation, defaultValue));
      }
docs: Obtains the orientation of the shadow, which is visualized by the view, from a specific typed
  array.
  
  @param typedArray
  The typed array, the elevation should be obtained from, as an instance of the class
  {@link TypedArray}. The typed array may not be null