Skip to content

Commit 5ce80b9

Browse files
committed
修改
1 parent 7ed301e commit 5ce80b9

File tree

2 files changed

+57
-18
lines changed

2 files changed

+57
-18
lines changed

README.md

Lines changed: 57 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,47 @@
1-
###
2-
#License
3-
```
4-
Copyright 2016 AllenCoder
5-
6-
Licensed under the Apache License, Version 2.0 (the "License");
7-
you may not use this file except in compliance with the License.
8-
You may obtain a copy of the License at
9-
10-
http://www.apache.org/licenses/LICENSE-2.0
111

12-
Unless required by applicable law or agreed to in writing, software
13-
distributed under the License is distributed on an "AS IS" BASIS,
14-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
See the License for the specific language governing permissions and
16-
limitations under the License.
17-
```
182

193
#简介(投票 ,排名对比图)
204
1. 一个简单的自定义 View 可高度定制
215
2. 支持设置替换 支持 ,和反对的图标
226
3. 支持自定义线宽和支持反对线的字体颜色
7+
8+
#设置比分值
9+
10+
11+
<img src="https://github.com/AllenCoder/AndroidCustomView/blob/master/gif/device-2016-08-15-180942.png" width=300 />
12+
13+
14+
##Dependency
15+
16+
17+
Add dependency in your app module
18+
19+
20+
21+
22+
23+
```
24+
dependencies {
25+
compile 'com.allen.comparsechart:comparsechart:1.0.0'
26+
}
27+
```
28+
29+
30+
31+
32+
##Maven
33+
```
34+
<dependency>
35+
<groupId>com.allen.comparsechart</groupId>
36+
<artifactId>comparsechart</artifactId>
37+
<version>1.0.0</version>
38+
<type>pom</type>
39+
</dependency>
40+
```
41+
42+
##Usage
43+
44+
###Java
2345
```
2446
<com.allen.comparsechart.CompareIndicator
2547
android:id="@+id/CompareIndicator3"
@@ -32,10 +54,27 @@ limitations under the License.
3254
app:opposite_res="@mipmap/opposite"
3355
/>
3456
```
35-
#设置比分值
3657
```
3758
CompareIndicator1.updateView(10,90);
3859
```
60+
[股票走势图](https://github.com/AllenCoder/AndroidDevCoder)
61+
62+
<img src="https://github.com/AllenCoder/AndroidDevCoder/blob/master/gif/linechart.gif" width=300 />
63+
64+
65+
##License
66+
```
67+
Copyright 2016 AllenCoder
3968
69+
Licensed under the Apache License, Version 2.0 (the "License");
70+
you may not use this file except in compliance with the License.
71+
You may obtain a copy of the License at
4072
41-
![alt](https://github.com/AllenCoder/AndroidCustomView/blob/master/gif/device-2016-08-15-180942.png)
73+
http://www.apache.org/licenses/LICENSE-2.0
74+
75+
Unless required by applicable law or agreed to in writing, software
76+
distributed under the License is distributed on an "AS IS" BASIS,
77+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
78+
See the License for the specific language governing permissions and
79+
limitations under the License.
80+
```

gif/device-2016-08-15-180942.png

43.7 KB
Loading

0 commit comments

Comments
 (0)