View Single Post
Old 10-09-2008, 02:42 AM   #2
myraddin
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
OS: 4.3-4.6.1
Carrier: t-mobile
Posts: 39
Wink

Yes. you can do that.

Override sublayout(init,int) of your screen class:
PHP Code:
    public void sublayout(int widthint height)
    {
        
super.sublayout(widthheight);
        
setExtent(100200);
        
setPosition(1020);
    } 
Now play with the numbers a little bit to achieve what you need.

( Remember that you can use Display.getWidth() and Display.getHeight(); )
Offline   Reply With Quote