I brought this up years ago. 

https://groups.google.com/forum/#!topic/android-developers/hZk5YYsmv_4

I want to either set or determine the size of the popupwindow. 

Is it still impossible?

The size is not a constant. 

If I call 
mContentView.getWidth();
The first time it is zero. 
The second time it is not zero, but is likely the size it was last time, 
but it could be a different size the second time. 

In the thread in 2010, there was a solution to set the size based on the 
anchorview, but no based on the contents of the popupwindows view. 


Nathan

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to