FileDocCategorySizeDatePackage
ProgressBar2.javaAPI DocAndroid 1.5 API1434Wed May 06 22:41:08 BST 2009com.example.android.apis.view

ProgressBar2

public class ProgressBar2 extends android.app.Activity
Demonstrates the use of indeterminate progress bars as widgets and in the window's title bar. The widgets show the 3 different sizes of circular progress bars that can be used.

Fields Summary
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle savedInstanceState)

        super.onCreate(savedInstanceState);

        // Request for the progress bar to be shown in the title
        requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
        
        setContentView(R.layout.progressbar_2);
        
        // Make sure the progress bar is visible
        setProgressBarVisibility(true);