Android linearLayout understanding

BigDick

New Member
I Want to create an android activity which will have few vertical stripes, here is my code:\[code\]<LinearLayout android:layout_width="fill_parent" android:layout_height="50dp" android:background="#CCCCCC" ></LinearLayout><LinearLayout android:layout_width="fill_parent" android:layout_height="250dp" android:background="#FFFFFF" ></LinearLayout>\[/code\]As you can see the upper stripe is 50 dp and the bottom stripe is 250 dp. the problem is that I am seeing only one stripe, here is what I see:
mRtmp.png
I see only one stripe.How should I do this right?Thanks
 
Back
Top