title: Show/hide fragment on button click in Android
body: <p>I want to know how to show and hide a fragment on a button click in Android. When button is in clicked state then fragment should appear, and when the button is clicked again then the fragment should disappear.</p>