private void obtainEmulateParallelLight ( @ NonNull final TypedArray typedArray ) { boolean defaultValue = getResources ( ) . getBoolean ( R . bool . elevation_shadow_view_emulate_parallel_light_default_value ) ; emulateParallelLight = typedArray . getBoolean ( R . styleable . ElevationShadowView_emulateParallelLight , defaultValue ) ; }
Obtains the boolean value which specifies whether parallel light should be emulated from a specific typed array .