File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ repositories {
15
15
}
16
16
17
17
dependencies {
18
- compile 'com.chaos.view:pinview:1.0.1 '
18
+ compile 'com.chaos.view:pinview:1.1.0 '
19
19
}
20
20
```
21
21
@@ -39,10 +39,10 @@ Add PinView in your layout.
39
39
android : textSize =" 18sp"
40
40
app : borderColor =" @color/border_colors"
41
41
app : borderWidth =" 2dp"
42
- app : boxCount =" 5"
43
- app : boxHeight =" 48dp"
44
- app : boxMargin =" 4dp"
45
- app : boxRadius =" 4dp"
42
+ app : itemCount =" 5"
43
+ app : itemSize =" 48dp"
44
+ app : itemSpacing =" 4dp"
45
+ app : itemRadius =" 4dp"
46
46
style =" @style/PinWidget.PinView" />
47
47
```
48
48
@@ -58,10 +58,10 @@ pinView.setBorderColor(
58
58
ResourcesCompat . getColor(getResources(), R . color. colorPrimary, getTheme()));
59
59
pinView. setBorderColor(
60
60
ResourcesCompat . getColorStateList(getResources(), R . color. border_colors, getTheme()));
61
- pinView. setBoxCount (5 );
62
- pinView. setBoxHeight (getResources(). getDimensionPixelSize(R . dimen. pv_pin_view_box_height));
63
- pinView. setBoxRadius (getResources(). getDimensionPixelSize(R . dimen. pv_pin_view_box_radius));
64
- pinView. setBoxMargin (getResources(). getDimensionPixelSize(R . dimen. pv_pin_view_box_margin));
61
+ pinView. setItemCount (5 );
62
+ pinView. setItemSize (getResources(). getDimensionPixelSize(R . dimen. pv_pin_view_box_height));
63
+ pinView. setItemRadius (getResources(). getDimensionPixelSize(R . dimen. pv_pin_view_box_radius));
64
+ pinView. setItemSpacing (getResources(). getDimensionPixelSize(R . dimen. pv_pin_view_box_margin));
65
65
pinView. setBorderWidth(getResources(). getDimensionPixelSize(R . dimen. pv_pin_view_box_border_width));
66
66
pinView. setAnimationEnable(true );// start animation when adding text
67
67
```
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ def issueUrl = 'https://github.com/ChaosLeong/PinView/issues'
6
6
def gitUrl
= ' [email protected] :ChaosLeong/PinView.git'
7
7
8
8
group = " com.chaos.view"
9
- version = " 1.0.1 "
9
+ version = " 1.1.0 "
10
10
11
11
install {
12
12
repositories. mavenInstaller {
@@ -57,6 +57,7 @@ task javadoc(type: Javadoc) {
57
57
task javadocJar (type : Jar , dependsOn : javadoc) {
58
58
classifier = ' javadoc'
59
59
from javadoc. destinationDir
60
+ exclude ' **/BuildConfig.class'
60
61
}
61
62
62
63
artifacts {
You can’t perform that action at this time.
0 commit comments