Skip to content

Add two new params to set shadow param

Choose a tag to compare

@lopspower lopspower released this 24 Nov 08:43
· 105 commits to master since this release

I update this library for you with two new params:

  • app:shadow_color (color) -> default BLACK
  • app:shadow_radius (float) -> default 8.0f

Or programmatically:

CircularImageView circularImageView = (CircularImageView)findViewById(R.id.yourCircularImageView);
// Add Shadow with default param
circularImageView.addShadow();
// or with custom param
circularImageView.setShadowRadius(15);
circularImageView.setShadowColor(Color.RED);

You can used this update with gradle:

compile 'com.mikhaellopez:circularimageview:2.0.2'