Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
abdularis committed Mar 28, 2018
1 parent ed621c1 commit 03b8fce
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,38 @@
# Android Circular Image View
[![](https://jitpack.io/v/abdularis/CircularImageView.svg)](https://jitpack.io/#abdularis/CircularImageView)

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.
> this project was inspired by [hdodenhof CircleImageView](https://github.com/hdodenhof/CircleImageView)
## Screenshot
![](demo.gif)

![](screenshots/screenshot.png)

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

~~~xml
allprojects {
repositories {
...
maven {
url 'https://jitpack.io' }
}
}
~~~

- **Step 2** Add library dependency into app build.gradle

~~~xml
dependencies {
compile 'com.github.abdularis:CircularImageView:v1.0'
}
~~~

## Usage
Check also the sample app

- Creating circle image view

![](screenshots/fig2.png)
Expand Down
Binary file added demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 03b8fce

Please sign in to comment.