title: Google Maps Android API v2 - Interactive InfoWindow (like in original android google maps)
body: <p>I am trying to a make custom <code>InfoWindow</code> after a click on a marker with the new Google Maps API v2. I want it to look like in the original maps application by Google. Like this:</p>
  
  <p><img src="https://i.stack.imgur.com/NVKQk.png" alt="Example Image"></p>
  
  <p>When I have <code>ImageButton</code> inside, its not working - the entire <code>InfoWindow</code> is slected and not just the <code>ImageButton</code>. I read that it is because there isn't a <code>View</code> itself but it's snapshot, so individual items cannot be distinguished from each other. </p>
  
  <p><strong>EDIT:</strong> 
  In the <a href="https://developers.google.com/maps/documentation/android-api/infowindows#info_window_events" rel="noreferrer">documentation</a> (thanks to <a href="https://stackoverflow.com/a/13857787/956975">Disco S2</a>):</p>
  
  <blockquote>
    <p>As mentioned in the previous section on info windows, an info window
    is not a live View, rather the view is rendered as an image onto the
    map. As a result, any listeners you set on the view are disregarded
    and you cannot distinguish between click events on various parts of
    the view. You are advised not to place interactive components — such
    as buttons, checkboxes, or text inputs — within your custom info
    window.</p>
  </blockquote>
  
  <p>But if Google use it, there must be some way to make it. Does anyone have any idea?</p>