I'm using a PopupWindow and want to set the width to the exact amount of space my LinearLayout (which is the contentview of the pop up), will need. I tried calling getWidth() but each time it returns 0. How can I find the width of it before displaying it? Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

