I am using the following code
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_weight="9"
android:background="@drawable/rectangularborder"
android:orientation="horizontal" >
<LinearLayout
android:layout_height="fill_parent"
android:layout_width="0px"
android:layout_weight="1"
android:background="@drawable/rightrectangularborder"
android:orientation="vertical" >
</LinearLayout>
<!--
<LinearLayout
android:layout_height="fill_parent"
android:layout_width="0px"
android:layout_weight="1"
android:background="@drawable/rightrectangularborder"
android:orientation="vertical" >
</LinearLayout> -->
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_weight="1"
android:background="@drawable/rectangularborder"
android:orientation="vertical" >
</LinearLayout>
</LinearLayout>
In this border for linear layout with id linearLayout1 is not getting displayed. But when I comment the linear layout inside linearLayout1 then the border is getting properly displayed . How can I overcome the problem?