第一步
1.进网站 https://www.online-convert.com/
第二步
在app中到依赖
compile 'com.mikepenz:iconics-core:2.9.1@aar' compile 'com.mikepenz:ionicons-typeface:2.0.1.3@aar' compile 'com.eftimoff:android-pathview:1.0.8@aar'
第三步
1.在xml中
<com.eftimoff.androipathview.PathView android:id="@+id/pathView" android:layout_width="match_parent" android:layout_height="match_parent" app:pathColor="@color/colprPath" app:pathWidth="5dp" app:svg="@raw/xin" />
第四步
在Activity中
pathView.getPathAnimator() .delay(1000) .duration(5000) .listenerEnd(new PathView.AnimatorBuilder.ListenerEnd() { @Override public void onAnimationEnd() { Intent intent = new Intent(ImageActivity.this, FirstActivity.class); startActivity(intent); } }) .interpolator(new AccelerateDecelerateInterpolator()) .start();