title: How to generate Bitmap?
body: <p>I want to write a android receipt program by writing text,  setLogo and image into Bitmap. I had search through internet but non of them are relevant to what I'm try to achieve. Is there anyway for me to make it?</p>
  
  <p>My receipt output format is as below:</p>
  
  <pre><code> _____________
  | *********** |
  | *  Logo   * | 
  | *********** |
  | Date        |
  | Amount      |
  | Card No     |
  |             |
  | Signature   |
  |_____________|
  </code></pre>
  
  <p>For your information, my purpose is let user review the receipt before terminal print out the receipt. In printReceipt function will do all the generate receipt bitmap job and printPreview function will to set the bitmap into imageView. </p>
  
  <p>Example in real world:-
  Supermarket receipt, the data will keep increase when we buy a lot of goods, and I'm try to write those data into bitmap and print it out or send through email. </p>