title: viewpager2 reduce sensitivity of horizontal scrolling
body: <p>how can i reduce the sensitivity of horizontal scrolling in viewpager2?</p>
  
  <p>this is currently my code for the viewpager.</p>
  
  <pre><code>viewPager = findViewById(id.view_pager);
  viewPager.setAdapter(new ViewPagerAdapter(this, dataManager, USERNAME));
  tabLayout.setSelectedTabIndicatorColor(ContextCompat.getColor(this, R.color.green));
  new TabLayoutMediator(tabLayout, viewPager,
          new TabLayoutMediator.TabConfigurationStrategy() {
              @Override
              public void onConfigureTab(@NonNull TabLayout.Tab tab, int position) {
                  tab.setText(tabNames.get(position));
              }
          }).attach();
  </code></pre>