private void obtainShadowElevation(@NonNull final TypedArray typedArray) {
        int defaultValue = getResources().getDimensionPixelSize(
                R.dimen.elevation_shadow_view_shadow_elevation_default_value);
        elevation = pixelsToDp(getContext(), typedArray
                .getDimensionPixelSize(R.styleable.ElevationShadowView_shadowElevation,
                        defaultValue));
    }
private void obtainShadowElevation ( @ NonNull final TypedArray typedArray ) { int defaultValue = getResources ( ) . getDimensionPixelSize ( R . dimen . elevation_shadow_view_shadow_elevation_default_value ) ; elevation = pixelsToDp ( getContext ( ) , typedArray . getDimensionPixelSize ( R . styleable . ElevationShadowView_shadowElevation , defaultValue ) ) ; }
Obtains the elevation 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