List of usage examples for android.app ProgressDialog setMessage
@Override public void setMessage(CharSequence message)
From source file:org.retroshare.android.ConnectingToServiceFragmentDialog.java
@Override public Dialog onCreateDialog(final Bundle savedInstanceState) { final ProgressDialog dialog = new ProgressDialog(getActivity()); dialog.setMessage(getString(R.string.connecting_to_rsproxy)); dialog.setIndeterminate(true);//from ww w . j ava 2 s . c o m dialog.setCancelable(false); return dialog; }
From source file:mx.openpay.android.example.ProgressDialogFragment.java
@Override public Dialog onCreateDialog(Bundle savedInstanceState) { int msgId = getArguments().getInt("msgId"); ProgressDialog dialog = new ProgressDialog(getActivity()); dialog.setMessage(getActivity().getResources().getString(msgId)); return dialog; }
From source file:com.douncoding.noe.ui.component.ProgressDialogFragment.java
@Override public Dialog onCreateDialog(Bundle savedInstanceState) { ProgressDialog dialog = new ProgressDialog(getActivity()); dialog.setMessage(getArguments().getString(KEY_TITLE)); dialog.setIndeterminate(true);//from ww w. ja v a 2s . c o m dialog.setCancelable(false); dialog.setCanceledOnTouchOutside(false); return dialog; }
From source file:org.deviceconnect.android.deviceplugin.linking.setting.fragment.dialog.DiscoveryDeviceDialogFragment.java
@NonNull @Override/*from w w w .j a va2 s . c om*/ public Dialog onCreateDialog(final Bundle savedInstanceState) { String message = getArguments().getString(EXTRA_MESSAGE); ProgressDialog progressDialog = new ProgressDialog(getActivity()); progressDialog.setMessage(message); progressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER); progressDialog.setCancelable(false); return progressDialog; }
From source file:com.commonsware.android.progdlg.SampleDialogFragment.java
@Override public Dialog onCreateDialog(Bundle savedInstanceState) { ProgressDialog dlg = new ProgressDialog(getActivity()); dlg.setMessage(getActivity().getString(R.string.dlg_title)); dlg.setIndeterminate(true);/*w ww. java 2s. co m*/ dlg.setProgressStyle(ProgressDialog.STYLE_SPINNER); return (dlg); }
From source file:de.vanita5.twittnuker.fragment.support.SupportProgressDialogFragment.java
@Override public Dialog onCreateDialog(final Bundle savedInstanceState) { final ProgressDialog dialog = new ProgressDialog(getActivity()); dialog.setMessage(getString(R.string.please_wait)); return dialog; }
From source file:org.getlantern.firetweet.fragment.support.SupportProgressDialogFragment.java
@NonNull @Override/* ww w.j av a 2s . c o m*/ public Dialog onCreateDialog(final Bundle savedInstanceState) { final ProgressDialog dialog = new ProgressDialog(getActivity()); dialog.setMessage(getString(R.string.please_wait)); return dialog; }
From source file:gov.wa.wsdot.android.wsdot.util.ProgressDialogFragment.java
@Override public Dialog onCreateDialog(Bundle savedInstanceState) { ProgressDialog dialog = new ProgressDialog(getActivity(), getTheme()); dialog.setMessage(getArguments().getString("message")); dialog.setIndeterminate(true);//from w w w . ja v a 2 s. c om dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER); return dialog; }
From source file:org.pixmob.freemobile.netstat.ui.ExportDialogFragment.java
@Override public Dialog onCreateDialog(Bundle savedInstanceState) { final ProgressDialog dialog = new ProgressDialog(getActivity()); dialog.setMessage(getString(R.string.exporting_data)); dialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL); dialog.setIndeterminate(true);// ww w . j av a2 s .c om dialog.setCancelable(false); return dialog; }
From source file:com.akalizakeza.apps.ishusho.activity.ProgressDialogFragment.java
@Override public Dialog onCreateDialog(Bundle savedInstanceState) { ProgressDialog dialog = new ProgressDialog(getActivity(), getTheme()); dialog.setMessage(getArguments().getString(KEY_TITLE)); dialog.setIndeterminate(true);/* w ww. ja va2s.com*/ dialog.setCancelable(false); dialog.setCanceledOnTouchOutside(false); return dialog; }