View Single Post
Old 12-02-2009, 05:47 AM   #2 (permalink)
vivartpandey
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 9000
Carrier: Airtel
Posts: 81
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

For positioning button manager just override sublayout of main manager.
Code:
protected void sublayout(int width, int height) {            
buttonManager= getField(what-index-of-this-manager);
            buttonMgrHeight = buttonManager.getPreferredHeight();           
            layoutChild(footer, width, buttonMgrHeight );
           setPositionChild(footer, 0, Display.getHeight()- buttonMgrHeight ); 
            setExtent(width,height);
}
for fixed size button create a customButtonclass ,override layout method and fix the size.
__________________
blog.vimviv.com

Last edited by vivartpandey : 12-02-2009 at 05:48 AM.
Offline   Reply With Quote