안녕하세요.
TextView에 숫자를 1초 마다 증가되는 화면을 만들고 싶은데요...
증가되는 화면은 안보이고 최종결과값인 99만 출력됩니다.
고수님들의 따끔한 지적 부탁드립니다.
몇일에 삽질중이네요 ㅠㅠ

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class Counter extends Activity {
 
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        TextView counter = (TextView)findViewById(R.id.count);       

     for(int idx=0; idx < 100; idx++){
      counter.setText(String.valueOf(idx));
      try {
    Thread.sleep(1000);
   } catch (InterruptedException e) {
    break;
   }
     }  
    }  
}



main.xml 입니다.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/lay2"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<TextView  android:id="@+id/count"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    />
</LinearLayout>