title: Calling fragment from acivity when a button is clicked
body: <p>I am creating an app with  fragment ,here i want to call fragment continuously when a button is clicked.eg when a button next is clicked i want to dispaly 5 fragment when the button clicked every time.</p>
  
  <p>Here is my xm code</p>
  
  <p><a href="https://i.stack.imgur.com/6Yjpz.png" rel="nofollow noreferrer">the image shows my  xml design.</a></p>
  
  <p>i want to display the fragment in the framelayout .</p>