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
Highlighted
Contributor
Posts: 20
Registered: ‎05-17-2012
My Device: have no device
My Carrier: KievStar
Accepted Solution

Device rotation

what method was callen after device rotation?

Or how i could change my interface after device rotation?

Developer
Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Device rotation

sublayout is called as the dimensions change.

you can also use http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/AccelerometerListener.h... to listen for changes, but as you want to update the interface the sublayout method would be easier.
----------------------------------------------------------
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.
@SimonHain on twitter