Why not just implement a custom layout class for putting the buttons into?

And then override onLayout(), rather than jumping through hoops trying to figure out when it happens?

-- Kostya

17.03.2011 19:54, Nadeem Hasan пишет:
You need to allow the gui thread to finish the layout and display the views before their metrics are set. Use Handler.postDelayed() to run your code. --
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to