亲们里面的线段颜色和节点图标都是可以自定义的。
在没给大家分享实例代码之前,先给大家展示下效果图:
main.xml
<RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android
android:id=@+id/rl_parent
xmlns:tools=http://schemas.android.com/tools
android:layout_width=match_parent
android:layout_height=match_parent
android:pad