Back to project page joanne.
The source code is released under:
GNU General Public License
If you think the Android project joanne 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 com.gmail.altakey.joanne.fragment; //w ww . j a v a 2 s.co m import android.app.Dialog; import android.app.ProgressDialog; import android.os.Bundle; import android.support.v4.app.DialogFragment; public class ProcessingDialog extends DialogFragment { public static final String TAG = "processing_dialog"; public static ProcessingDialog newInstance() { return new ProcessingDialog(); } @Override public Dialog onCreateDialog(Bundle savedInstanceState) { final ProgressDialog dialog = new ProgressDialog(getActivity()); dialog.setMessage("Please wait"); dialog.setIndeterminate(true); dialog.setCancelable(false); dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER); return dialog; } }