Moved results, listview and gridview code into fragments, which are then
included by their respective activities.  This is a much more modular way to
build apps, because we can use a control that dynamically picks between the
fragments (such as a sliding drawer), or implement another system to transition
between them.  We can also lay the fragments out on a larger screen and allow
them to update simultaneously