摘要:
阅读全文
posted @ 2015-11-26 16:00
请叫我码农怪蜀黍
阅读(129)
评论(0)
推荐(0)
摘要:
当应用程序启动时,Android首先会开启一个主线程(也就是UI线程),主线程为管理界面中的UI控件,进行事件分发。AD:一、Handler的定义:主要接受子线程发送的数据, 并用此数据配合主线程更新UI。解释:当应用程序启动时,Android首先会开启一个主线程 (也就是UI线程) , 主线程为管... 阅读全文
posted @ 2015-11-26 13:05
请叫我码农怪蜀黍
阅读(137)
评论(0)
推荐(0)
摘要:
/***********************************三种方法写点击事件*************************************/ //得到控件 tv_title=(TextView) findViewById(R.id.tv1); Btn1=(But... 阅读全文
posted @ 2015-11-26 12:01
请叫我码农怪蜀黍
阅读(265)
评论(0)
推荐(0)
摘要:
// TextView tv = new TextView(this);// tv.setText("这是内容");// tv.setTextColor(getResources().getColor(R.color.red)); //getResources().getDrawable(R.... 阅读全文
posted @ 2015-11-26 09:53
请叫我码农怪蜀黍
阅读(201)
评论(0)
推荐(0)

浙公网安备 33010602011771号