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

For positioning button manager just override sublayout of main manager.
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 ); 
for fixed size button create a customButtonclass ,override layout method and fix the size.

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