본문 바로가기
프로그래밍 놀이터/안드로이드, Java

[android] activity progressbar ( shown on actionbar if it exists )

by 돼지왕 왕돼지 2014. 3. 11.
반응형


 android, activity progressbar ( shown on actionbar if it exists )

 

[android] activity progressbar ( shown on actionbar if it exists )


@Override

protected void onCreate(Bundle savedInstanceState) {

    requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);

    super.onCreate(savedInstanceState);


    setProgressBarIndeterminate(true);

    setProgressBarIndeterminateVisibility(true);

}






반응형

댓글