Search code examples
androidthemesandroid-holo-everywhere

numberpicker widget and holoeverywhere missing theme


I'm trying to get Simons Number Picker to work together with Holoeverywhere. however holoeverwhere requires me to set android:theme="@style/Holo.Theme" whereas the number picker requires android:theme="@style/SampleTheme.Light". I'm not very familiar with styles and themes yet, what are my options? Right now the number picker displays incorrectly:

holoeverywhere and numberpicker

PS. I need backwards comp. till 2.2 and would prefer keeping the holo theme


Solution

  • There is a built in NumberPicker in HoloEverywhere.

    You can test it with the demo application.

    org.holoeverywhere.widget.NumberPicker
    

    Here is a link to the source code:

    https://github.com/ChristopheVersieux/HoloEverywhere/blob/master/library/src/org/holoeverywhere/widget/NumberPicker.java

    MOVED TO: https://github.com/Prototik/HoloEverywhere/blob/master/library/src/org/holoeverywhere/widget/NumberPicker.java

    Maybe there is a way to use Simons widget on a dark theme, should be possible.