01-28-2013 07:51 AM
can you please help me , how to make this type of view.i cann't understant it a list or simple label.
if it is lable for to make alternake row of different color or how to make text color pink .
if this is list i want to ask Header of llist and how make this type of list..
Solved! Go to Solution.
01-28-2013 07:58 AM
01-28-2013 08:28 AM
01-28-2013 11:02 AM
can you right some code of line to do that task.? to do this
you can use Device.getWidth to get the available width, and subtract from that for your layout.
Without using a custom layout you can use setMargin on the inner manager to add a space on the left and right side of it.
01-28-2013 07:45 PM
i made a top header (first green ) .Problem in second header having (second green one)and the list field headher
which have width less than the device width , .
01-28-2013 08:11 PM
Put your second header and the ListField in a VerticalFieldManager, and set the VerticalFieldManager to have top and left and right margins, to:
a) provide the space around the edge
b) restrict the width of your Header Field.
You should then be able to define your header to 'USE_ALL_WIDTH'.
The ListField will automatically use the whole width. You should make sure in your drawListRow that you use the width supplied to that method and NOT the Display width,