Converted the views into fragments.

Hmm...