Refactored Fragment and FragmentAdapter.
changed deprecated fill_parent to match_parent