Back to project page Music-Share-Android.
The source code is released under:
GNU General Public License
If you think the Android project Music-Share-Android 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.paperairplane.music.share.dialogs; // w w w .j a va2s .c om import com.paperairplane.music.share.R; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; public class ThankDialogFragment extends AbsDialogFragment { @Override public Dialog onCreateDialog(Bundle savedInstanceState){ AlertDialog dialog = new AlertDialog.Builder(getActivity()) // .setOnCancelListener(onCancelListener) .setTitle(R.string.thank_title) .setIcon(android.R.drawable.ic_dialog_info) .setMessage(R.string.thank_content) .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { @Override public void onClick( DialogInterface dialog, int whichButton) { //TODO ????????? } }).create(); return dialog; } }