The user selects an item from the ListView (center content) then needs to select an amount using the slider (SeekBar) below. The problem is the layout also uses a ViewPager meaning that if you swipe left or right you will go to the next/previous page (see: Home, Inventory, Market)

This is clearly creating bad UX since if the user is sliding the SeekBar from left/right they can accidentally change pages.

Limited space to work with, clearly. At a loss here though since I need a horizontal slider. Any ideas? Thanks!

enter image description here

  • 2
    This sounds like more of an implementation issue. The scope of that slide event should be limited to the slider and not also activate the view pager event listener. I don't know the equivalent function for your presumably Java application but you need something like this: Event.StopPropogation()
    – DasBeasto
    Commented Aug 4, 2015 at 20:40

2 Answers 2


Yes, indeed it cause trouble.

2 solutions:

  1. Ask your developer to make sure it works the way you want. Technically possible.
  2. Make the tap area bigger. The circle on the slider that you drag has to be either equal or greater than a minimum advisable touch target of 48DP. This will help you a lot since the probability of touching the remaining screen will be less.

Anyways, testing is what will give you the perfect answer anyways. Go ahead and test it out.


Show a popup or may be a fragment on the bottom with seekbar when user selects an item from list item. It should not be part of view pager. Something like this

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.