First of all, here is my xml:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal"
android:background="@android:color/white">
<LinearLayout [...]
android:layout_above"@+id/test">
</LinearLayout>
<LinearLayout [...]>
<LinearLayout [...]
android:id="@+id/test"/>
</LinearLayout>
</RelativeLayout>
This xml won’t work…
Is there any option to do that? Setting the android:layout_above parameter to a view that’s inside another one?
I modified a bit of your code .. please try this