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 ) ) ; }
Obtains the orientation of the shadow which is visualized by the view from a specific typed array .