Wave Progress
Dependancy
me.itangqi.waveloadingview:library:0.3.5
Convert:
me.itangqi.waveloadingview.WaveLoadingView
Change id
mWaveLoadingView
Import:
me.itangqi.waveloadingview.WaveLoadingView
Java:
Use following codes properly watch video to learn more
mWaveLoadingView.setShapeType(WaveLoadingView.ShapeType.CIRCLE);
mWaveLoadingView.setTopTitle("Top Title");
mWaveLoadingView.setCenterTitleColor(Color.GRAY);
mWaveLoadingView.setBottomTitleSize(18);
mWaveLoadingView.setProgressValue(80);
mWaveLoadingView.setBorderWidth(10);
mWaveLoadingView.setAmplitudeRatio(60);
mWaveLoadingView.setWaveColor(Color.GRAY);
mWaveLoadingView.setBorderColor(Color.GRAY);
mWaveLoadingView.setTopTitleStrokeColor(Color.BLUE);
mWaveLoadingView.setTopTitleStrokeWidth(3);
mWaveLoadingView.setAnimDuration(3000);
mWaveLoadingView.pauseAnimation();
mWaveLoadingView.resumeAnimation();
mWaveLoadingView.cancelAnimation();
mWaveLoadingView.startAnimation();
Post a Comment