Image/Drawbale/CustomView in a NumberPicker

904 views Asked by At

Is there any way to use the android NumberPicker to scroll through images (with or without the text)

I've tried to extend the NumberPicker and get the EditText from it

(EditText v = (EditText) getChildAt(0)) ;

Then I tried to set a background drawable or a CompoundDrawable.

But the images are only displayed when the EditText is in editmode, otherwise they're hidden. Any idea how to create a NumberPicker with images?

0

There are 0 answers