@@ -23,9 +23,9 @@ Include the library as a local library project or add the dependency in your bui
2323
2424``` groovy
2525dependencies {
26- compile 'me.itangqi.waveloadingview:library:0.1.5 '
27- // I have uploaded v0.1.5 on 2016-01-14 , if it doesn't take effect or your
28- // gradle cannot find it in maven central, you may try v0.1.4 .
26+ compile 'me.itangqi.waveloadingview:library:2.0.0 '
27+ // I have uploaded v2.0.0 on 2016-02-17 , if it doesn't take effect or your
28+ // gradle cannot find it in maven central, you may try v0.1.5 .
2929}
3030```
3131Or
@@ -41,21 +41,21 @@ Include the WaveLoadingView widget in your layout. And you can customize it like
4141 android : id =" @+id/waveLoadingView"
4242 android : layout_width =" wrap_content"
4343 android : layout_height =" wrap_content"
44- app : mlv_borderColor =" @color/colorAccent"
45- app : mlv_borderWidth =" 3dp"
46- app : mlv_progressValue =" 40"
47- app : mlv_shapeType = " square "
48- app : mlv_titleBottom =" Bottom Title"
49- app : mlv_titleBottomColor =" @color/colorPrimaryText"
50- app : mlv_titleBottomSize =" 20sp"
51- app : mlv_titleCenter =" Center Title"
52- app : mlv_titleCenterColor =" @color/colorPrimaryText"
53- app : mlv_titleCenterSize =" 24sp"
54- app : mlv_titleTop =" Top Title"
55- app : mlv_titleTopColor =" @color/colorPrimaryText"
56- app : mlv_titleTopSize =" 20sp"
57- app : mlv_waveAmplitude = " 60 "
58- app : mlv_waveColor =" @color/colorAccent" />
44+ app : wlv_borderColor =" @color/colorAccent"
45+ app : wlv_borderWidth =" 3dp"
46+ app : wlv_progressValue =" 40"
47+ app : wlv_shapeType = " circle "
48+ app : wlv_titleBottom =" Bottom Title"
49+ app : wlv_titleBottomColor =" @color/colorPrimaryText"
50+ app : wlv_titleBottomSize =" 20sp"
51+ app : wlv_titleCenter =" Center Title"
52+ app : wlv_titleCenterColor =" @color/colorPrimaryText"
53+ app : wlv_titleCenterSize =" 24sp"
54+ app : wlv_titleTop =" Top Title"
55+ app : wlv_titleTopColor =" @color/colorPrimaryText"
56+ app : wlv_titleTopSize =" 20sp"
57+ app : wlv_waveAmplitude = " 70 "
58+ app : wlv_waveColor =" @color/colorAccent" />
5959```
6060
6161### Step 3
@@ -82,27 +82,42 @@ Do what you what :)
8282
8383| name| format| description|
8484| :---:| :---:| :---:|
85- | mlv_borderWidth | dimension |set border width, default is 0
86- | mlv_borderColor | color |set border color
87- | mlv_progressValue | integer |set progress value, default is 50
88- | mlv_shapeType | enum |set shape type, default is circle
89- | mlv_waveColor | color |set wave color
90- | mlv_waveAmplitude | float |set wave amplitude
91- | mlv_titleTopSize | dimension |set top title size, default is 18
92- | mlv_titleCenterSize | dimension |set center title size, default is 22
93- | mlv_titleBottomSize | dimension |set bottom size, default is 18
94- | mlv_titleTopColor | color |set top title color
95- | mlv_titleCenterColor | color |set center title color
96- | mlv_titleBottomColor | color |set bottom title color
97- | mlv_titleTop | string |set top title content, default is null
98- | mlv_titleCenter | string |set center title content, default is null
99- | mlv_titleBottom | string |set bottom title content, default is null
85+ | wlv_borderWidth | dimension |set border width, default is 0
86+ | wlv_borderColor | color |set border color
87+ | wlv_progressValue | integer |set progress value, default is 50
88+ | wlv_shapeType | enum |set shape type, default is circle
89+ | wlv_waveColor | color |set wave color
90+ | wlv_waveAmplitude | float |set wave amplitude
91+ | wlv_titleTopSize | dimension |set top title size, default is 18
92+ | wlv_titleCenterSize | dimension |set center title size, default is 22
93+ | wlv_titleBottomSize | dimension |set bottom size, default is 18
94+ | wlv_titleTopColor | color |set top title color
95+ | wlv_titleCenterColor | color |set center title color
96+ | wlv_titleBottomColor | color |set bottom title color
97+ | wlv_titleTop | string |set top title content, default is null
98+ | wlv_titleCenter | string |set center title content, default is null
99+ | wlv_titleBottom | string |set bottom title content, default is null
100100
101101** All attributes have their respective getters and setters to change them at runtime.**
102102
103103
104104## Change Log
105105
106+ ### 0.1.6 (2016-02-17)
107+
108+ #### Implemented enhancements:
109+
110+ - Prefix the attributes with "wlv"
111+
112+ #### Fixed bugs:
113+
114+ - setProgressValue() increase doesn't conform to logic [ #8 ] ( https://github.com/tangqi92/WaveLoadingView/issues/8 )
115+
116+ #### Update:
117+
118+ - Update ` build.gradle `
119+ - Update Sample
120+
106121### 0.1.5 (2016-01-14)
107122
108123#### Fixed bugs:
@@ -120,14 +135,8 @@ Do what you what :)
120135
121136#### Fixed bugs:
122137
123-
124138- Attribute "borderWidth" has already been defined [ #2 ] ( https://github.com/tangqi92/WaveLoadingView/issues/2 )
125139
126- #### Implemented enhancements:
127-
128- - Prefix the attributes with "wlv"
129-
130-
131140
132141## Demo
133142
0 commit comments