How to set data in a dialog box?
<pre><code>Button button = (Button) findViewById(R.id.button1);
    button.setOnClickListener(new View.OnClickListener() {
        public void onClick(View v) {
            final ViewGroup layout_order = (ViewGroup) LayoutInflater.from(
                    Menus.this).inflate(
                    R.layout.yourorderdialog, null);    
            setContentView(R.layout.yourorderdialog);
            AlertDialog.Builder builder =new AlertDialog.Builder(Menus.this);
            builder.setTitle("Order");


             Enumeration e=ht.keys();
              Object obj;
              obj = e.nextElement();
              String quantity=(String) obj;
              String instruction=(String) ht.get(obj);
               System.out.println(quantity);
               System.out.println(instruction);
               TextView tv=(TextView)findViewById(R.id.tv);
                  tv.setText(quantity,BufferType.NORMAL);
                  TextView tv1=(TextView)findViewById(R.id.tv1);
                  tv1.setText(instruction,BufferType.NORMAL);   

            builder.setPositiveButton("pay", null);
            builder.show();

        }
    });
</code></pre>
