Back to project page Android_ApplicationTemplate.
The source code is released under:
MIT License
If you think the Android project Android_ApplicationTemplate 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.iaraby.template.util; //from ww w.ja v a 2 s. c om import android.app.Dialog; import android.content.Context; import android.view.Window; import com.company.appname.R; public class DialogManager { public static void showInfoDialog(Context context) { Dialog dialog = new Dialog(context); dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); dialog.setContentView(R.layout.about); dialog.setCanceledOnTouchOutside(true); dialog.show(); } }