Android: <include> overrides are not affecting the layout
<p>I have the following layout buttons.xml</p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/buttonsLayout" android:layout_width="fill_parent"
    android:layout_height="wrap_content" android:screenOrientation="portrait"&gt;

    &lt;ImageView android:id="@+id/imgLeftArrow"
        android:layout_width="wrap_content" android:layout_height="wrap_content"
        android:layout_alignParentLeft="true" android:layout_marginLeft="@dimen/standard_margin"
        android:contentDescription="@string/pic_arrow_left"
        android:background="@drawable/arrow_left" /&gt;

    &lt;ImageView android:id="@+id/imgUpArrow" android:layout_width="wrap_content"
        android:layout_height="wrap_content" android:layout_centerHorizontal="true"
        android:contentDescription="@string/pic_arrow_up" android:background="@drawable/arrow_up" /&gt;

    &lt;ImageView android:id="@+id/imgRightArrow"
        android:layout_width="wrap_content" android:layout_height="wrap_content"
        android:layout_alignParentRight="true" android:layout_marginRight="@dimen/standard_margin"
        android:contentDescription="@string/pic_arrow_right"
        android:background="@drawable/arrow_right" /&gt;

&lt;/RelativeLayout&gt;
</code></pre>

<p>And I have main.xml layout:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/mainLayout"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:screenOrientation="portrait" &gt;

    &lt;include
        android:layout_alignParentBottom="true"
        layout="@layout/buttons" /&gt;

&lt;/RelativeLayout&gt;
</code></pre>

<p>As you can see, I am overriding the buttons.xml layout to be at the bottom of this one.
But the problem is, that the layout is shown on top, and not on the bottom.
If I set this property directly inside the RelativeLayout in buttons.xml, it is shown on bottom.</p>

<p>What is the problem? According to android documentation <a href="http://developer.android.com/resources/articles/layout-tricks-reuse.html" rel="nofollow">http://developer.android.com/resources/articles/layout-tricks-reuse.html</a> I can override the properties of the included layout.</p>
