user3106818
user3106818

Reputation: 198

how to implement custom number picker android

i want to implement number picker like this

enter image description here

I want to replace digits with images and selectionDivider with image.

 <RelativeLayout 
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_centerInParent="true">
    <NumberPicker
    android:id="@+id/numberPicker1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    />
    <NumberPicker
    android:id="@+id/numberPicker2"
    android:layout_toRightOf="@id/numberPicker1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    />
    <NumberPicker
    android:id="@+id/numberPicker3"

    android:layout_toRightOf="@id/numberPicker2"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    />
</RelativeLayout>

Upvotes: 2

Views: 1968

Answers (1)

user957654
user957654

Reputation:

please check this android-wheel library i think this is what you are looking for

and give me some feddback

Hope That Helps .

Upvotes: 1

Related Questions