Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
Posts: 41
Registered: ‎11-18-2012
My Device: blackberry sms message making

how to set Ui to different mobile screens?

i have created user interface(ui) in blackberry 9900 and it fixed perfectly to the screen but when i run my ui app in different smartphones like 9620,,etc the ui is not fixed correctly as it is fixed in 9900..

SO i want to know how fix my ui in different mobile screens and how can i do so..

 

 

 please help me in this as am new to blackberry development...

Developer
Posts: 148
Registered: ‎09-28-2012
My Device: Blackberry Developer

Re: how to set Ui to different mobile screens?

you have to first check your screen size in your app and after that resize UI as per the different  screen size.


----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Developer
Posts: 19,612
Registered: ‎07-14-2008
My Device: Not Specified

Re: how to set Ui to different mobile screens?

It is also important that you check the screen resolution, so that you can resize things to look the same size.  320x240 is the screen size, not its resolution.  Resolution is the pixel density, usually expressed in dots per inch. 

 

One good trick is to use points for the font size rather than pixels - fonts specified in points resize automatically on device.