Just pushing so Sharon can look at the code. Currently there is very
strange behavior. Specifically, by commenting out the line where I set
the view to be gone, getTestHeight is correctly working. However, if I
set it to gone (after the call to getHeight), getHeight always returns 0