public void setDropShadowColor ( int color ) { GradientDrawable . Orientation orientation = getDropShadowOrientation ( ) ; final int endColor = color & 0x00FFFFFF ; mDropShadowDrawable = new GradientDrawable ( orientation , new int [ ] { color , endColor , } ) ; invalidate ( ) ; }
Sets the color of the drop shadow .