安卓家庭记账系统

时间:2016-05-25 05:43:53
【文件属性】:

文件名称:安卓家庭记账系统

文件大小:123KB

文件格式:DOC

更新时间:2016-05-25 05:43:53

关于家庭记账

关于家庭记账的代码public class ColaBox extends Activity { private Handler mHandler = new Handler(); ImageView imageview; TextView textview; int alpha = 255; int b = 0; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); imageview = (ImageView) this.findViewById(R.id.ImageView01); textview = (TextView) this.findViewById(R.id.TextView01); Log.v("ColaBox", "ColaBox start ..."); imageview.setAlpha(alpha); new Thread(new Runnable() { public void run() { initApp(); while (b < 2) { try { if (b == 0) { Thread.sleep(1000); b = 1; } else { Thread.sleep(50); } updateApp();


网友评论

  • 很好的源码
  • 很好的源码,初学者可以多看看哦