0 Replies Latest reply on Sep 15, 2010 9:38 PM by tehxike1

    Force view to measure itself

    tehxike1 Level 1

      I have some layout code that needs a view to measure itself before it runs.  I'm trying invalidateSize, validateNow on the view, but it's width and height are still 0 afterwards.  The measuredWidth and measuredHeight appear to be correct though.  What can I do to make this work?

       

      Cheers.