标签: java android
final TextView t1 = (TextView) v.findViewById(R.id.textView);
...
Timer timer = new Timer(); timer.schedule( new TimerTask(){ public void run() { t1.setText("Tap to Start"); } }, 2000);
每次执行TimerTask后,应用程序都会停止工作