Made the swipe stop at the edge of button 2. This version is for Android Studio

Made the swipe stop at the edge of button 2. This version is for Android Studio