Back to project page Android-Lib-SymmetricProgressBar.
The source code is released under:
Apache License
If you think the Android project Android-Lib-SymmetricProgressBar listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package android.lib.symmetricprogressbar; //from w w w. j a v a2 s. com import android.app.Activity; import android.os.Bundle; import android.view.ViewGroup; public final class DemoActivity extends Activity { @Override protected void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); final SymmetricProgressBar progressBar = new SymmetricProgressBar(this); progressBar.setId(123); ((ViewGroup)this.findViewById(android.R.id.content)).addView(progressBar, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, 8)); progressBar.startAnimation(); } }