Skip to content

Commit 72576e3

Browse files
author
tangxiaolv
committed
update README.md
1 parent c41cbbd commit 72576e3

File tree

6 files changed

+31
-7
lines changed

6 files changed

+31
-7
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ EffectiveShapeView
44

55
A fast,flexible,powerful ImageView that supports rounded corners,circles,polygon.Used by shader which is fastest model of draw. This is based on [RoundedImageView from Vince Mi](https://github.com/vinc3m1/RoundedImageView), but more lightweight(under 400 line code).
66

7-
<img src="https://raw.githubusercontent.com/TangXiaoLv/EffectiveShapeView/master/png/first.jpg" width = "362" height = "640" alt="图片名称" />
8-
<img src="https://raw.githubusercontent.com/TangXiaoLv/EffectiveShapeView/master/png/second.jpg" width = "362" height = "640" alt="图片名称" />
7+
<img src="png/1.gif" width = "320" height = "528"/>
98

109
Also has support for:
1110
- anti-aliased

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ buildscript {
66
}
77
dependencies {
88
classpath 'com.android.tools.build:gradle:2.1.0'
9+
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
10+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
911

1012
// NOTE: Do not place your application dependencies here; they belong
1113
// in the individual module build.gradle files

effectiveshapeview/build.gradle

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'com.jfrog.bintray'
3+
4+
ext {
5+
bintrayRepo = 'maven'
6+
bintrayName = 'effective-shape-view'
7+
8+
publishedGroupId = 'com.library.tangxiaolv'
9+
libraryName = 'effectiveshapeview'
10+
artifact = 'effectiveshapeview'//必须跟Model名一样
11+
12+
libraryDescription = 'android effective custom shape imageview'
13+
14+
siteUrl = 'https://github.com/TangXiaoLv/EffectiveShapeView'
15+
gitUrl = 'https://github.com/TangXiaoLv/EffectiveShapeView.git'
16+
17+
libraryVersion = '1.0.1'
18+
19+
developerId = 'tangxiaolv'
20+
developerName = 'Tang XiaoLv'
21+
developerEmail = 'imbatang@gmail.com'
22+
23+
licenseName = 'The Apache Software License, Version 2.0'
24+
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
25+
allLicenses = ["Apache-2.0"]
26+
}
227

328
android {
429
compileSdkVersion 23
@@ -18,8 +43,6 @@ android {
1843
}
1944
}
2045

21-
dependencies {
22-
compile fileTree(dir: 'libs', include: ['*.jar'])
23-
testCompile 'junit:junit:4.12'
24-
compile 'com.android.support:appcompat-v7:23.3.0'
25-
}
46+
// Place it at the end of the file
47+
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
48+
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'

png/1.gif

2.35 MB
Loading

png/first.jpg

-49 KB
Binary file not shown.

png/second.jpg

-44.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)