[android-developers] Re: getLatitudeSpan, getLongitudeSpan, getHeight, getWidth errors

2008-10-10 Thread yarun
just want to know when its done rendering hence I just want to setup a listener. yarun On Oct 9, 8:01 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: > This is because at the time code is executed in onCreate(), the first > layout pass hasn't happened yet. You need to wait fo

[android-developers] getLatitudeSpan, getLongitudeSpan, getHeight, getWidth errors

2008-10-09 Thread yarun
Hello, in my MapView, getLatitudeSpan is returning 0, and getLongitudeSpan is returning 360,000,000. Similarly, getHeight, getWidth and any other get[Pixel] method is returning 0. How am I improperly setting up my code? XML: http://schemas.android.com/apk/res/ android" android:id="@+id/map_vi