I\'m using Android\'s ViewPager. What I want to do is to show a preview of the page on both the left and the right. I\'ve seen where I can use a negative
ViewPager
override fun getPageWidth(position: Int): Float { return 0.7f }
Add this in adapter class file, This worked for me