xml problem

  • Replies:1
  • OpenNot stickiedUnanswered

Oct 21, 2010 7:15:35 PM

hi guys, I'm new here and hope that I'm asking at the right place @.@

I have something like this in my main.xml, my problem here is that:

1<FrameLayout android:id="@+id/drawBoardLeft"
2 android:layout_alignParentLeft="true"
3 android:background="#FFFFFFFF"
4 android:layout_below="@+id/btnExit"
5 android:layout_width ="43px"
6 android:layout_height="fill_parent"
7 />
8 <FrameLayout android:id="@+id/drawBoard"
9 android:layout_below="@+id/btnExit"
10 android:layout_width ="fill_parent"
11 android:layout_height="fill_parent"
12 android:layout_marginLeft ="45px"
13 android:layout_marginRight="45px"
14 />
working without error

1<FrameLayout android:id="@+id/drawBoardRight"
2 android:layout_alignParentRight="true"
3 android:background="#FFFFFFFF"
4 android:layout_below="@+id/btnExit"
5 android:layout_width ="43px"
6 android:layout_height="fill_parent"
7 />
8 <FrameLayout android:id="@+id/drawBoard"
9 android:layout_below="@+id/btnExit"
10 android:layout_width ="fill_parent"
11 android:layout_height="fill_parent"
12 android:layout_marginLeft ="45px"
13 android:layout_marginRight="45px"
14 />
working without error

1<FrameLayout android:id="@+id/drawBoardLeft"
2 android:layout_alignParentLeft="true"
3 android:background="#FFFFFFFF"
4 android:layout_below="@+id/btnExit"
5 android:layout_width ="43px"
6 android:layout_height="fill_parent"
7 />
8 <FrameLayout android:id="@+id/drawBoardRight"
9 android:layout_alignParentRight="true"
10 android:background="#FFFFFFFF"
11 android:layout_below="@+id/btnExit"
12 android:layout_width ="43px"
13 android:layout_height="fill_parent"
14 />
15 <FrameLayout android:id="@+id/drawBoard"
16 android:layout_below="@+id/btnExit"
17 android:layout_width ="fill_parent"
18 android:layout_height="fill_parent"
19 android:layout_marginLeft ="45px"
20 android:layout_marginRight="45px"
21 />
error pops out and I'm currently suffers massive hair loss as I can't get this working to continue my coding part!

greatly appreciated if anyone can help...

— modified on Oct 21, 2010 7:16:22 PM