I like the native iOS Picker. I don't like the native Android Picker. Can I have on Android the same style and the same behavior of the iOS Picker?
Asked
Active
Viewed 138 times
0
-
If someone hasn't already created it, you can create a custom view yourself by extending the view. You can read more about creating custom views here: https://developer.android.com/training/custom-views/create-view.html – Puneet Dec 16 '17 at 10:55
-
check [this answer](https://stackoverflow.com/a/47307761/2826147) – Amit Vaghela Dec 16 '17 at 10:57
-
Are your comments pertinent to Codename One? – Francesco Galgani Dec 16 '17 at 15:34
1 Answers
1
No. It's implemented natively due to the circular effect on iOS that's a bit hard to replicate in the drawing primitives. We are thinking about moving this to lightweight code which will allow that but it would take a lot of work.
Personally I prefer the native Android pickers for some tasks see https://www.codenameone.com/javadoc/com/codename1/ui/spinner/Picker.html
I think the separate Time and Date pickers are superior on Android.

Shai Almog
- 51,749
- 5
- 35
- 65