title: Include template layout and add components on it
body: <p>I defined a layout and want to use it as template for my other activitys (same background color, distance to margin etc.). So i`m trying to include it by </p>
  
  <pre><code>&lt;include layout="@layout/template"&gt; 
  </code></pre>
  
  <p>That does work. But i want to place buttons on the included layout like this</p>
  
  <pre><code>&lt;include layout="@layout/template"
      xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;Button
          android:id="@+id/applyLeave"
          android:layout_alignTop="@+id/upperEdge"
          style="@style/buttons"/&gt;
      &lt;/include&gt;
  </code></pre>
  
  <p>(e.g. @+id/upperEdge is part of the included layout and i want to set the button below the included component)</p>
  
  <p>Is it possible and how do i do this?</p>