https://github.com/SimonVT/android-numberpicker
I am trying to use this library.
But I can’t successfully use the Sample
- Import sample
- copy lib files (except manifest, build)
But the Sample still has an error at NumberPicker.java
I mean All(ever) R. giving an error, something like R.id.np_decrement, R.attr.numberPickerStyle, R.integer.np_config_longAnimTime…
The resources object (R.java) isn’t being generated because of an error. Your
targetSdkVersionshould be set to at least 15 in your manifest, and you should also havetheme.xmlfrom the library’sres/valuesfolder copied to the same location in your own project.