title: Difference between Tab Layout and ViewPager?
body: <p>I'm learning about tab layout because I need to use tab layout.</p>
  <p>When i search for tab layout on Google, the one that comes up together is the view pager.</p>
  <p>By the way, I'm not sure about the difference between <code>tablayout</code> and <code>viewpager</code>.</p>
  <p>The <code>tab layout</code> has a menu at the top and screen switching is possible.</p>
  <p>Although the <code>view pager</code> does not have tabs, it is possible to slide the screen just like the <code>tab layout</code>.</p>
  <p>But why use the two together?</p>
  <p>What's different?</p>
  <p>Isn't it possible to slide in tab layout as well?</p>