Tilt issue in Blackberry storm
Posted
by sujithRavindran
on Stack Overflow
See other posts from Stack Overflow
or by sujithRavindran
Published on 2010-03-08T10:31:45Z
Indexed on
2010/03/08
10:36 UTC
Read the original article
Hit count: 638
Hi,
have developed an app for BB storm while tilting the device the background image of the app screen does not matches with the screen size , i have tried with the sublayout methord
public void sublayout(int width, int height)
{
//update scrren layout based on orientation
if(Display.getOrientation()== Display.ORIENTATION_LANDSCAPE)
{
invalidate();
}
else if(Display.getOrientation()== Display.ORIENTATION_PORTRAIT)
{
invalidate();
}
super.sublayout(width, height);
}
Still not successfull can any one help to sort out this tilt issue in BB storm
Thanks SujithRavindran Rapidvaluesolutions
© Stack Overflow or respective owner