From 0b7e2617456485ddd3f6de86b7a3c9bb1d6807c4 Mon Sep 17 00:00:00 2001 From: Vince Mi Date: Wed, 4 Mar 2015 20:49:07 -0800 Subject: [PATCH] Rename to setCornerRadiusDimen for clarity. Closes #71 --- build.gradle | 2 +- roundedimageview/build.gradle | 2 +- .../java/com/makeramen/roundedimageview/RoundedImageView.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index eab564b..02b5139 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:1.0.1' + classpath 'com.android.tools.build:gradle:1.1.0' } } diff --git a/roundedimageview/build.gradle b/roundedimageview/build.gradle index a11c518..a2183e6 100644 --- a/roundedimageview/build.gradle +++ b/roundedimageview/build.gradle @@ -23,7 +23,7 @@ android { } dependencies { - provided 'com.squareup.picasso:picasso:2.3.4' + provided 'com.squareup.picasso:picasso:2.5.0' } task androidJavadocs(type: Javadoc) { diff --git a/roundedimageview/src/main/java/com/makeramen/roundedimageview/RoundedImageView.java b/roundedimageview/src/main/java/com/makeramen/roundedimageview/RoundedImageView.java index 825b0b7..37e62f9 100644 --- a/roundedimageview/src/main/java/com/makeramen/roundedimageview/RoundedImageView.java +++ b/roundedimageview/src/main/java/com/makeramen/roundedimageview/RoundedImageView.java @@ -326,7 +326,7 @@ public float getCornerRadius() { return cornerRadius; } - public void setCornerRadius(int resId) { + public void setCornerRadiusDimen(int resId) { setCornerRadius(getResources().getDimension(resId)); }