Changed layout_height attribute of fragments to 0dip to improve efficiency. Modified entries in the list of messages and removed unneeded import