title: Android - Pop up a View on top of another View
body: <p>Suppose I have a Button like what is in the following:<br>
  <img src="https://i.stack.imgur.com/AT0F3.png" alt="A simple Button"><br>
  I want once this button is clicked a <code>ImageView</code>(popup message) appears in the top of this button, something like this:<br>
  <img src="https://i.stack.imgur.com/o382L.jpg" alt="enter image description here">  </p>
  
  <p>But I do not know how put a View as an overlay on top of another View, Just I know this can be achieved by <code>FrameLayout</code> . Please suppose I want to embed this capability into the Button (in the other phrases I want to create a custom button with a method called <code>showPopup(...)</code>  like <code>Textview</code>'s <code>setError(...)</code>)<br>
  Can any one please help me? Thanks</p>