Search code examples
androidnumberpicker

How to customize the NumberPicker


I found 2 built-in NumberPickers:


(source: techbooster.org)

By default, it's the first one, but when I add android:theme="@android:style/Theme.NoTitleBar" in AndroidManifest.xml, it becomes the second one.

How can I put this line (I need it) and still get the first NumberPicker?


Solution

  • you are setting the non holo theme so you get the non holo numberpicker.

    see this as reference, its basically the same thing you asked

    Remove titlebar in xml