0

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

jcfrei
  • 1,819
  • 4
  • 19
  • 35

1 Answers1

2

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.

Waza_Be
  • 39,407
  • 49
  • 186
  • 260
  • that works indeed. I replaced `net.simonvt.widget.NumberPicker` with `org.holoeverywhere.widget.NumberPicker` and imported `import org.holoeverywhere.widget.NumberPicker`. it's not quite as nice but it works! – jcfrei Feb 07 '13 at 10:50
  • 1
    Solution 2 would be to create your own theme with either Holo or simon as parent and add the other theme manually – Waza_Be Feb 07 '13 at 12:36
  • the link is broken. Can you fix it? – gregm Oct 10 '13 at 19:06