画闪烁移动小球,当小球碰撞到边缘时弹起. public class MainActivity extends Activity { private Handler handler; private DrawCircle dtest; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); init(); }