title: Android - Masking a Bitmap using another Bitmap
body: <p>I have two bitmaps. Here is Bitmap 1:</p>
  
  <p><img src="https://i.stack.imgur.com/dBTU1.png" alt="Bitmap 1: Background"></p>
  
  <p>And here is Bitmap 2:</p>
  
  <p><img src="https://i.stack.imgur.com/a87IS.png" alt="Bitmap 2: frame"></p>
  
  <p>What the final results shall be:</p>
  
  <p><img src="https://i.stack.imgur.com/tdmEf.png" alt="Bitmap Final"></p>
  
  <p>I would appreciate a code, however, I'd appreciate more a reference to an documentation or tutorial. I would like to understand the code completely and I have been searching on developer.android.com for so long with no luck. Thanks.</p>