Skip to content

Commit

Permalink
New release 3.0.0
Browse files Browse the repository at this point in the history
I update this library with:
- Add *Prefix* `civ` in front of properties (to correct "Attribute has already been defined")
- Fix *Preview* in Edit mode
  • Loading branch information
lopspower committed Feb 3, 2016
1 parent bc6bc34 commit 76f7ca6
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ USAGE
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:

```groovy
compile 'com.mikhaellopez:circularimageview:2.1.1'
compile 'com.mikhaellopez:circularimageview:3.0.0'
```

XML
Expand All @@ -29,24 +29,24 @@ XML
android:layout_width="250dp"
android:layout_height="250dp"
android:src="@drawable/image"
app:border_color="#EEEEEE"
app:border_width="4dp"
app:shadow="true"
app:shadow_radius="10"
app:shadow_color="#8BC34A"/>
app:civ_border_color="#EEEEEE"
app:civ_border_width="4dp"
app:civ_shadow="true"
app:civ_shadow_radius="10"
app:civ_shadow_color="#8BC34A"/>
```

You must use the following properties in your XML to change your CircularImageView.


#####Properties:

* `app:border` (boolean) -> default true
* `app:border_color` (color) -> default WHITE
* `app:border_width` (dimension) -> default 4dp
* `app:shadow` (boolean) -> default false
* `app:shadow_color` (color) -> default BLACK
* `app:shadow_radius` (float) -> default 8.0f
* `app:civ_border` (boolean) -> default true
* `app:civ_border_color` (color) -> default WHITE
* `app:civ_border_width` (dimension) -> default 4dp
* `app:civ_shadow` (boolean) -> default false
* `app:civ_shadow_color` (color) -> default BLACK
* `app:civ_shadow_radius` (float) -> default 8.0f

JAVA
-----
Expand Down

0 comments on commit 76f7ca6

Please sign in to comment.