@@ -21,9 +21,9 @@ Include the library as a local library project or add the dependency in your bui
2121
2222``` groovy
2323dependencies {
24- compile 'me.itangqi.waveloadingview:library:0.3.0 '
25- // I have uploaded v0.3.0 on 2016-06-07 , if it doesn't take effect or your
26- // gradle cannot find it in maven central, you may try v0.2.3 .
24+ compile 'me.itangqi.waveloadingview:library:0.3.1 '
25+ // I have uploaded v0.3.1 on 2016-07-23 , if it doesn't take effect or your
26+ // gradle cannot find it in maven central, you may try v0.3.0 .
2727}
2828```
2929Or
@@ -45,8 +45,10 @@ Include the WaveLoadingView widget in your layout. And you can customize it like
4545 app : wlv_shapeType =" circle"
4646 app : wlv_round_rectangle =" true"
4747 app : wlv_triangle_direction =" north"
48+ app : wlv_titleCenterStrokeColor =" @android:color/holo_blue_dark"
49+ app : wlv_titleCenterStrokeWidth =" 3dp"
4850 app : wlv_titleCenter =" Center Title"
49- app : wlv_titleCenterColor =" @color/colorPrimaryText "
51+ app : wlv_titleCenterColor =" @android: color/white "
5052 app : wlv_titleCenterSize =" 24sp"
5153 app : wlv_waveAmplitude =" 70"
5254 app : wlv_waveColor =" @color/colorAccent" />
@@ -58,16 +60,18 @@ You can write some animation codes to the callbacks such as setOnCheckedChangeLi
5860
5961
6062``` java
61- WaveLoadingView mWaveLoadingView = (WaveLoadingView ) findViewById(R . id. waveLoadingView);
62- mWaveLoadingView. setShapeType(WaveLoadingView . ShapeType . CIRCLE );
63- mWaveLoadingView. setTopTitle(" Top Title" );
64- mWaveLoadingView. setCenterTitleColor(Color . GRAY );
65- mWaveLoadingView. setBottomTitleSize(18 );
66- mWaveLoadingView. setProgressValue(80 );
67- mWaveLoadingView. setBorderWidth(10 );
68- mWaveLoadingView. setAmplitudeRatio(60 );
69- mWaveLoadingView. setWaveColor(Color . GRAY );
70- mWaveLoadingView. setBorderColor(Color . GRAY );
63+ WaveLoadingView mWaveLoadingView = (WaveLoadingView ) findViewById(R . id. waveLoadingView);
64+ mWaveLoadingView. setShapeType(WaveLoadingView . ShapeType . CIRCLE );
65+ mWaveLoadingView. setTopTitle(" Top Title" );
66+ mWaveLoadingView. setCenterTitleColor(Color . GRAY );
67+ mWaveLoadingView. setBottomTitleSize(18 );
68+ mWaveLoadingView. setProgressValue(80 );
69+ mWaveLoadingView. setBorderWidth(10 );
70+ mWaveLoadingView. setAmplitudeRatio(60 );
71+ mWaveLoadingView. setWaveColor(Color . GRAY );
72+ mWaveLoadingView. setBorderColor(Color . GRAY );
73+ mWaveLoadingView. setTopTitleStrokeColor(Color . BLUE );
74+ mWaveLoadingView. setTopTitleStrokeWidth(3 );
7175```
7276
7377## Customization
@@ -93,14 +97,26 @@ Please feel free to :)
9397| wlv_titleBottomSize | dimension | Bottom size, default is 18
9498| wlv_titleTopColor | color | Top title color
9599| wlv_titleCenterColor | color | Center title color
96- | wlv_titleBottomColor | color | Bottom title color
100+ | wlv_titleBottomColor | color | Bottom title color
101+ | wlv_titleTopStrokeColor | color | Top title stroke color
102+ | wlv_titleCenterStrokeColor | color | Center title stroke color
103+ | wlv_titleBottomStrokeColor | color | Bottom title stroke color
104+ | wlv_titleTopStrokeWidth | dimension | Top title stroke width
105+ | wlv_titleCenterStrokeWidth | dimension | Center title stroke width
106+ | wlv_titleBottomStrokeWidth | dimension | Bottom title stroke width
97107
98108
99109** All attributes have their respective getters and setters to change them at runtime.**
100110
101111
102112## Change Log
103113
114+ ### 0.3.1(2016-07-23)
115+
116+ #### Update:
117+
118+ - Added stroke feature to all titles. Strokes are disabled by default. [ by shayanzoro] ( https://github.com/shayanzoro )
119+
104120### 0.3.0 (2016-06-07)
105121
106122#### Fixed bugs:
0 commit comments