title: Android: is it possible to create hollow (empty center) layout?
body: <p>Sorry if my topic is confusing, I am not sure which words should i use to describe the layout I need.  </p>
  
  <p>Currently, I am working on a project that needs to overlay a hollow layout on map view, which the hollow layout will use to display the far distance location point, I post an image to demonstrate what I mean.</p>
  
  <p><img src="https://i.stack.imgur.com/ntcQH.png" alt="Mapview with stroke overlay"></p>
  
  <p>Basically the whole screen is fill by Mapview, and the overlay layout should overlay it without cover the center, like what I show in the image.</p>
  
  <p>Here is the xml show what I have done to make layout like above</p>
  
  <pre><code>&lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent" &gt;
  
  &lt;com.google.android.maps.MapView
  android:id="@+id/MapView"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:enabled="true"
  android:clickable="true"
  android:apiKey="..."
  /&gt;
  
     &lt;View
     android:layout_width="320dip"
     android:layout_height="50dip"
     android:layout_gravity="center_horizontal|top"
     android:background="#800ff4ff"
     android:textColor="#ffffffff" /&gt;
  
  
   &lt;View
      android:layout_width="320dip"
      android:layout_height="50dip"
      android:layout_gravity="center_horizontal|bottom"
      android:background="#800ff4ff"
      android:textColor="#ffffffff"
    /&gt;
  
  &lt;View
      android:layout_width="50dip"
      android:layout_height="520dip"
      android:layout_gravity="center_vertical|right"
      android:background="#800ff4ff"
      android:textColor="#ffffffff" /&gt;
  
   &lt;View
      android:layout_width="50dip"
      android:layout_height="520dip"
      android:layout_gravity="center_vertical|left"
      android:padding="20dip"
      android:background="#800ff4ff"
      android:textColor="#ffffffff" /&gt;
  
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>I use frame layout to allow layout can overlay others, and create 4 separate  on each edge to simulate what I really want (empty in the center). I just not sure who to make layout only show 4 sides and keep the center invisible, if anyone can help please give me some guidance. thanks.</p>