A fragment is an independent Android component which can be used by an activity. A fragment encapsul ...