11-29-2009 08:11 AM
I have a requirement like my screeen is devided in to 3 parts . 1) header part (top) 2)Bday part(center) 3) tail part(bottom)
I need to scroll only body part of the screen . my header part,tail shold not scroll they shold be appear on the screen always while scrlling.
If any one have sample code .Kindly help me out.
"Life is Short . Love all . Don't hate anyone."
Solved! Go to Solution.
11-29-2009 08:26 AM
Screen of the style will be no vertical scroll
For header part you can use vertical field manager with no scroll and override method sublayout
protected void sublayout(int maxWidth, int maxHeight)
maxHeight = 10;//height of the header potion
maxWidth = Graphics.getScreenWidth() ;
and add to this manager to screen.
For body part you can use Vartical Field Manager with scroll style and override sublayout method
and in the same way you can use your value of height which is applicable for scollable.
For trailer part use Vartical Field Manager with no scroll style and override sublayout method in the same way
I think,it will help to you.