Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MostafaGazar/CustomShapeImageView
A library for supporting custom shaped ImageView(s) using SVGs and paint shapes
https://github.com/MostafaGazar/CustomShapeImageView
Last synced: about 1 month ago
JSON representation
A library for supporting custom shaped ImageView(s) using SVGs and paint shapes
- Host: GitHub
- URL: https://github.com/MostafaGazar/CustomShapeImageView
- Owner: MostafaGazar
- License: apache-2.0
- Created: 2013-11-02T15:08:22.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2021-07-18T20:54:30.000Z (over 3 years ago)
- Last Synced: 2024-08-02T09:28:59.071Z (4 months ago)
- Language: Java
- Homepage: http://mostafagazar.github.io/CustomShapeImageView
- Size: 1.18 MB
- Stars: 1,620
- Watchers: 86
- Forks: 424
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-github-android-ui - CustomShapeImageView - 自定义使用SVG和填充图的ImageView (ImageView)
README
CustomShapeImageView Demo ([Play Store Demo][1])
-------------------------A library for supporting custom shaped ImageView(s) using SVGs and paint shapes
You can also use this gist https://gist.github.com/MostafaGazar/ee345987fa6c8924d61b if you do not want to add this library project to your codebase.
[![Build Status](https://travis-ci.org/MostafaGazar/CustomShapeImageView.svg)](https://travis-ci.org/MostafaGazar/CustomShapeImageView)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-CustomShapeImageView-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1197)
[![Android Weekly](http://img.shields.io/badge/Android%20Weekly-%2381-2CB3E5.svg?style=flat)](http://androidweekly.net/issues/issue-81)
[![PayPal Donations](https://img.shields.io/badge/paypal-donate-yellow.svg?style=flat)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mmegazar%40gmail%2ecom&lc=NZ&item_name=Mostafa%20Gazar&item_number=GitHub¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
[![Coverage Status](https://coveralls.io/repos/github/MostafaGazar/CustomShapeImageView/badge.svg?branch=master)](https://coveralls.io/github/MostafaGazar/CustomShapeImageView?branch=master)Usage
-----
```xml```
Download
------------
Add the `customshapeimageview` dependency to your `build.gradle` file:[![Maven Central](https://img.shields.io/maven-central/v/com.mostafagazar/customshapeimageview.svg)](http://search.maven.org/#search%7Cga%7C1%7Ccustomshapeimageview)
```groovy
dependencies {
...
compile 'com.mostafagazar:customshapeimageview:1.0.4'
...
}
```Proguard
------------
If you're using proguard for code shrinking and obfuscation, make sure to add the following:
```proguard
-keep class com.meg7.widget.** { *; }
```Screenshots
------------
![main](https://raw.githubusercontent.com/MostafaGazar/CustomShapeImageView/master/Screenshot_2016-01-19-09-17-37.png)Libraries used
---------------
* https://github.com/latemic/svg-androidDeveloped by
------------
* Mostafa Gazar -License
------------
Copyright 2013-2016 Mostafa GazarLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Donations
------------
If you'd like to support this library, you could make a donation here:[![PayPal Donation](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mmegazar%40gmail%2ecom&lc=NZ&item_name=Mostafa%20Gazar&item_number=GitHub¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
[1]: https://play.google.com/store/apps/details?id=com.meg7.samples