Skip to content

Commit 6d4ce1d

Browse files
committed
2 parents 6eca384 + 1389484 commit 6d4ce1d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@
55
This library provides you circle and avatar imageview for android. it automatically scale and center a bitmap based on the size of the view but does not copy the bitmap itself.
66
> this project was inspired by [hdodenhof CircleImageView](https://github.com/hdodenhof/CircleImageView)
77
8-
## Screenshot
9-
![](demo.gif)
8+
If you need some explanation of how the code works, I created an article about this, visit:
9+
* [https://medium.com/@abdularis/android-custom-view-tutorial-create-circle-image-view-cacdd3e986cb](https://medium.com/@abdularis/android-custom-view-tutorial-create-circle-image-view-cacdd3e986cb)
1010

11-
![](screenshots/screenshot.png)
11+
## Screenshot
12+
|![](demo.gif)|![](screenshots/screenshot.png)|
13+
|-|-|
1214

1315
## Setup
1416
- **Step 1** Add repository into root build.gradle
1517

16-
~~~xml
18+
~~~gradle
1719
allprojects {
1820
repositories {
1921
...
@@ -27,7 +29,7 @@ allprojects {
2729

2830
> **Note:** there are changes in view xml attributes of **v1.2**, so it's slightly different from previous version (v1.1)
2931
30-
~~~xml
32+
~~~gradle
3133
dependencies {
3234
compile 'com.github.abdularis:CircularImageView:v1.2'
3335
}

0 commit comments

Comments
 (0)