From 76f7ca67101a537e4b3f7f071f414816e89cd8b6 Mon Sep 17 00:00:00 2001 From: Lopez Mikhael Date: Wed, 3 Feb 2016 16:01:34 +0100 Subject: [PATCH] New release 3.0.0 I update this library with: - Add *Prefix* `civ` in front of properties (to correct "Attribute has already been defined") - Fix *Preview* in Edit mode --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 7512b81..5e124a0 100644 --- a/README.md +++ b/README.md @@ -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 @@ -29,11 +29,11 @@ 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. @@ -41,12 +41,12 @@ You must use the following properties in your XML to change your CircularImageVi #####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 -----