文件名称:画闪烁移动小球
文件大小:1.66MB
文件格式:RAR
更新时间:2018-07-16 08:36:37
闪烁移动小球
画闪烁移动小球,当小球碰撞到边缘时弹起. 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(); } private void init() { LinearLayout layout=(LinearLayout) findViewById(R.id.root); dtest=new DrawCircle(this); dtest.invalidate(); layout.addView(dtest); handler=new Handler(); handler.post(new Runnable() { @Override public void run() { dtest.invalidate(); handler.postDelayed(this, 50); } }); } }
【文件预览】:
DrawMoveCircle
----.project(850B)
----project.properties(579B)
----src()
--------com()
----AndroidManifest.xml(972B)
----res()
--------drawable-ldpi()
--------drawable-hdpi()
--------values-v11()
--------menu()
--------drawable-mdpi()
--------layout()
--------drawable-xxhdpi()
--------drawable-xhdpi()
--------values-w820dp()
--------values()
--------values-v14()
----.settings()
--------org.eclipse.jdt.core.prefs(177B)
--------org.eclipse.core.resources.prefs(55B)
----assets()
----gen()
--------com()
----libs()
--------android-support-v4.jar(633KB)
----.classpath(475B)
----proguard-project.txt(781B)
----ic_launcher-web.png(50KB)
----bin()
--------resources.ap_(40KB)
--------Demo_DrawPoint.apk(282KB)
--------classes()
--------AndroidManifest.xml(972B)
--------dexedLibs()
--------jarlist.cache(120B)
--------res()
--------classes.dex(702KB)