my problem is that when activity which contains gallery is shown then first item is in middle of screen. i want to move it to left such way that it would be fully visible but on the edge of gallery view
i can do it using gallery.scrollBy(x,0); where x is calculated from width of rectangle occupied by gallery on screen and width of item problem is that so far i must have x as constant different for all screen sizes. i would like to make it completely dynamic, but i don't know how to calculate this number - returned gallery width is always 0, its hit rectangle is filled with zeros etc.... any idea? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---