package com.sabirjan.liulanqi.Wangluo;

import com.sabirjan.android.R;

import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.graphics.Typeface;
import android.view.View;

public class AlertTopView{

	public static void showDialog(Context context) {  
        AlertDialog.Builder builder = new AlertDialog.Builder(context);  
        builder.setIcon(R.drawable.icon);  
       
        builder.setTitle("Title");  
        builder.setMessage("Message");
        builder.setPositiveButton("��������",  
                new DialogInterface.OnClickListener() {  
                    public void onClick(DialogInterface dialog, int whichButton) {  
                       // setTitle("����˶Ի����ϵ�Button1");  
                    }  
                });  
        builder.setNeutralButton("ȡ��",  
                new DialogInterface.OnClickListener() {  
                    public void onClick(DialogInterface dialog, int whichButton) {  
                    //    setTitle("����˶Ի����ϵ�Button2");  
                    }  
                });  
        builder.setNegativeButton("Button3",  
                new DialogInterface.OnClickListener() {  
                    public void onClick(DialogInterface dialog, int whichButton) {  
                   //     setTitle("����˶Ի����ϵ�Button3");  
                    }  
                });  
        builder.show();  
    }  
  

}
