質問です。カウントダウン表示を画面内に行いたいのですが

//main画面から遷移
public class TestPlay extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//アクティビティが生成されると同時にタイマー開始
Thread thread = new Thread() {
@Override
public void run() {
try {
//制限時間12秒として設定
//int count = 12;
while(count > 0){
Thread.sleep(1000);
count--;
//メイン画面へ遷移。
finish();
} catch (InterruptedException e) {
}
}
};
thread.start();

上記のソースコードに、どのようなコードを追記すれば解決するでしょうか
ご教授お願い致します。