private void adaptElevationShadow ( ) { setImageBitmap ( createElevationShadow ( getContext ( ) , elevation , orientation , emulateParallelLight ) ) ; setScaleType ( orientation == Orientation . LEFT || orientation == Orientation . TOP || orientation == Orientation . RIGHT || orientation == Orientation . BOTTOM ? ScaleType . FIT_XY : ScaleType . FIT_CENTER ) ; }
Adapts the shadow which is visualized by the view depending on its current attributes .