摘要:
final Handler handler = new Handler() { public void handleMessage(Message msg) { switch (msg.what) { case 1: right2.setVisibility(View.INVISIBLE); InitializeQuestion(); ... 阅读全文
摘要:
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 阅读全文
摘要:
主xml中动画:anim/myframe_bubble 主程序中:// ***动画帧 this.imgFrame = (ImageView) super.findViewById(R.id.imgFrame); this.animFrame = (AnimationDrawable) this.imgFrame.getBackground(); this.animFrame.stop(); this.animFrame.start(); 阅读全文