Skip to content

Commit 1710762

Browse files
authored
Update README.md
1 parent 74fdf99 commit 1710762

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CircularImageView
77

88
[![Platform](https://img.shields.io/badge/platform-android-green.svg)](http://developer.android.com/index.html)
99
[![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=14)
10-
[![Download](https://api.bintray.com/packages/lopspower/maven/com.mikhaellopez:circularimageview/images/download.svg?version=4.1.1)](https://bintray.com/lopspower/maven/com.mikhaellopez:circularimageview/4.1.1/link)
10+
[![Download](https://api.bintray.com/packages/lopspower/maven/com.mikhaellopez:circularimageview/images/download.svg?version=4.2.0)](https://bintray.com/lopspower/maven/com.mikhaellopez:circularimageview/4.2.0/link)
1111
<br>
1212
[![Twitter](https://img.shields.io/badge/[email protected]?style=flat)](http://twitter.com/lopezmikhael)
1313
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/57b73cd8e4b242389acf4341b7ca7269)](https://www.codacy.com/app/lopspower/CircularImageView?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=lopspower/CircularImageView&amp;utm_campaign=Badge_Grade)
@@ -24,7 +24,7 @@ USAGE
2424
To make a circular ImageView add CircularImageView in your layout XML and add CircularImageView library in your project or you can also grab it via Gradle:
2525

2626
```groovy
27-
implementation 'com.mikhaellopez:circularimageview:4.1.1'
27+
implementation 'com.mikhaellopez:circularimageview:4.2.0'
2828
```
2929

3030
XML
@@ -58,7 +58,7 @@ You must use the following properties in your XML to change your CircularImageVi
5858
| `app:civ_border_color_direction` | left_to_right, right_to_left, top_to_bottom or bottom_to_top | left_to_right |
5959
| `app:civ_shadow` | boolean | false |
6060
| `app:civ_shadow_color` | color | BLACK |
61-
| `app:civ_shadow_radius` | float | 8.0f |
61+
| `app:civ_shadow_radius` | dimension | 8dp |
6262
| `app:civ_shadow_gravity` | center, top, bottom, start or end | bottom |
6363

6464
:information_source: You can also use `android:elevation` instead of `app:civ_shadow` to have default Material Design elevation.
@@ -87,7 +87,7 @@ circularImageView.apply {
8787
// Add Shadow with default param
8888
shadowEnable = true
8989
// or with custom param
90-
shadowRadius = 15f
90+
shadowRadius = 7f
9191
shadowColor = Color.RED
9292
shadowGravity = CircularImageView.ShadowGravity.CENTER
9393
}
@@ -116,7 +116,7 @@ circularImageView.setBorderColorDirection(CircularImageView.GradientDirection.TO
116116
// Add Shadow with default param
117117
circularImageView.setShadowEnable(true);
118118
// or with custom param
119-
circularImageView.setShadowRadius(15f);
119+
circularImageView.setShadowRadius(7f);
120120
circularImageView.setShadowColor(Color.RED);
121121
circularImageView.setShadowGravity(CircularImageView.ShadowGravity.CENTER);
122122
```

0 commit comments

Comments
 (0)