Android Open Source - Android-Lib-SymmetricProgressBar Demo Activity






From Project

Back to project page Android-Lib-SymmetricProgressBar.

License

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.

Java Source Code

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();
    }
}




Java Source Code List

android.lib.symmetricprogressbar.DemoActivity.java
android.lib.symmetricprogressbar.FakeActionBar.java
android.lib.symmetricprogressbar.SymmetricProgressBar.java