[android-developers] Re: display.getWidth bug "fixed" in android 3.2

2011-12-12 Thread guich
Hi, One more thing. Can someone kindly tell us, in this thread, once the method is added, or at least, in which version? This way i can change my code to stop doing the rotation. cheers guich -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Re: display.getWidth bug "fixed" in android 3.2

2011-12-12 Thread guich
Hi, Thanks If this can be added in Android 3.3 (or 3.4), that would be wonderful. Yes, i just need the biggest dimension (in pixels) of the whole screen, no matter if there's a task bar or not. Happy Christmas, Guich. -- You received this message because you are subscribed to the Goog

Re: [android-developers] Re: display.getWidth bug "fixed" in android 3.2

2011-12-09 Thread Dianne Hackborn
That's not what you want. It sounds like you want a largest dimension? There is some hidden code for getting this, but it is not completely correct. We can make a public method for it, but it will need to be fixed to be more accurate. On Fri, Dec 9, 2011 at 4:13 AM, guich wrote: > Hi Dianne,

[android-developers] Re: display.getWidth bug "fixed" in android 3.2

2011-12-09 Thread guich
Hi Dianne, Lemme explain my problem. All my application is drawn in an offscreen bitmap. When the application starts, i get the maximum width/height of the screen and create a square bitmap. This way, when screen rotates, i don't have to create another bitmap. This prevents some crashes in my app