2013年10月14日
摘要: final Handler handler = new Handler() { public void handleMessage(Message msg) { switch (msg.what) { case 1: right2.setVisibility(View.INVISIBLE); InitializeQuestion(); ... 阅读全文
posted @ 2013-10-14 18:22 藤藤蔓蔓 阅读(182) 评论(0) 推荐(0) 编辑
摘要: qmsp = new SpannableString("p1" + " " + "p2" + " " + "p3" + " " + "p4" + " "); int qLength = qmsp.length(); // ...设置字体(default,default-bold,monospace,serif,sans-serif) qmsp.setSpan(new TypefaceSpan("default-bold&quo 阅读全文
posted @ 2013-10-14 13:30 藤藤蔓蔓 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 主xml中动画:anim/myframe_bubble 主程序中:// ***动画帧 this.imgFrame = (ImageView) super.findViewById(R.id.imgFrame); this.animFrame = (AnimationDrawable) this.imgFrame.getBackground(); this.animFrame.stop(); this.animFrame.start(); 阅读全文
posted @ 2013-10-14 10:31 藤藤蔓蔓 阅读(208) 评论(0) 推荐(0) 编辑