I'm confused about the fact that you're constructing views after doing view layout. Shouldn't you add them first and then do their layout?