title: Android numberpicker getting stuck
body: <p>I have a numberpicker dialog to select hours and minutes (15 minutes interval). It works fine on large screens but on small screens and older devices it gets stuck if I try to scroll using touch.  </p>
  
  <p><a href="https://i.stack.imgur.com/vzlWQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vzlWQ.png" alt="enter image description here"></a></p>
  
  <p>I am extending the android.widget.NumberPicker and reducing the font size which helps on some devices. </p>
  
  <pre><code>public class TimerNumberPicker extends android.widget.NumberPicker {
  
      public TimerNumberPicker(Context context) {
          super(context);
      }
  
      public TimerNumberPicker(Context context, AttributeSet attrs){
          super(context,attrs);
      }
  
      @Override
      public void addView(View child) {
          super.addView(child);
          updateView(child);
      }
  
      @Override
      public void addView(View child, ViewGroup.LayoutParams params) {
          super.addView(child, params);
          updateView(child);
      }
  
      @Override
      public void addView(View child, int index, ViewGroup.LayoutParams params) {
          super.addView(child, index, params);
          updateView(child);
      }
  
      private void updateView(View view) {
          if(view instanceof EditText){
              ((EditText) view).setTextSize(TypedValue.COMPLEX_UNIT_SP,16);
              view.setTag(FontUtil.TAG_CONDENSED_LIGHT);
              FontUtil.getInstence(getContext()).setFontByTag(view);
          }
      }
  }
  </code></pre>
  
  <p>What makes it more complicated is that the minutes have only values <code>(0, 15, 30, 45)</code> and I have to <code>setWrapSelectorWheel to false</code>?</p>
  
  <p>I am thinking if it will be possible to always show the up and down arrows and then disabling scroll. </p>