布局:
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
android:layout_height="match_parent">
<com.cn.monthtext_lx.drawzinanzheng
android:id="@+id/zdy_view"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</android.support.constraint.ConstraintLayout>
核心代码:
public class Thing_six extends Fragment {
@BindView(R.id.zdy_view)
drawzinanzheng zdyView;
Unbinder unbinder;
//刚开是的度数:
float start=0f;
@Nullable
@Override
public View onCreateView(@NonNull LayoutInflater infl