dailytime=(DefaultSpeedoView1) findViewById(R.id.dailytime);
yearlytime=(DefaultSpeedoView6) findViewById(R.id.yearlytime);
loadcount=(DefaultSpeedoView4) findViewById(R.id.loadcount);
elapsetime=(DefaultSpeedoView5) findViewById(R.id.elapsetime);
editmodecolorchange=(RelativeLayout)findViewById(R.id.editmodecolorchange);
You should specified them in your xml file correctly like
<com.appp.Timer.DefaultSpeedoView
android:id="@+id/dailytime"
android:layout_width="250dp"
android:layout_height="215dp"
android:longClickable="true"
android:layout_marginLeft="50dp" />
and correctly cast those to DefaultSpeedoView
(not DefaultSpeedoView1
, DefaultSpeedoView2
and so on)