ios like date/time picker for android platform
Asked Answered
C

2

13

I'm building mobile app for both ios and android platform using native ios/android code. And I want apps looks similar. So I need ios style picker (for date and time selection) available in android. I spend half of the day but don't find any sutable variant. Will be more than happy if you suggest something. I think there should be variants, because I saw several android apps where picker looks the same as on ios (anydo for example).

What I already checked:

  1. android-spinnerwheel (abandoned, not sutable for using, require build actual picker from it's componet, so quite a lot of code)

  2. wheelpicker (quality unclear, regional standards/datetime constants hardcoded in code and in general control hard to customize, however it's candidate for forking and fixing things manually. For sure it's not supporting am-pm/24h UI switching)

  3. PickView (no layout, implemented as dialog, poore customization abilities)

  4. CharacterPickerView (do not use default layout settings, hard to customize without fixing sources, hardcoded values, GPL license)

P.S. I will cosinder payed variants if they exists.


After investigation we ended up with custom controls build based on wheelpicker

Counterintelligence answered 13/6, 2016 at 13:36 Comment(3)
Hi you got any solution.. Even I am stuck same situation and searching.. can you please give me any hint or code..?? Thanks..Bullfinch
I created a library to solve this issue : arkapp.medium.com/ios-date-time-picker-for-android-93af45fdfaf0Halogen
@abdulrehman, your library is good, but what do I do if I want only first letter in capital and other letters in small for text in Cancel button and Submit button?Solute
S
3

You can Use wheel type effect in android here is code:

<DatePicker
   android:layout_width="wrap_content"
   android:layout_height="wrap_content"
   android:calendarViewShown="false"
   android:datePickerMode="spinner"/>
Sulk answered 22/2, 2022 at 5:23 Comment(0)
D
0

You can Use wheel type effect in android here is code:

https://github.com/ayushhgoyal/AyushWheel/

Hope this will Help ! Cheers !

Dolora answered 13/6, 2016 at 14:4 Comment(3)
project abandoned since last commit was more than 2 years ago. And control itself don't looks sutable for use in production.Counterintelligence
anyone looking for iOS like date time picker for Android - try this one github.com/florent37/SingleDateAndTimePickerSpry
Check this new iOS like date time picker github.com/blessedCode07/iOS-date-time-pickerHalogen

© 2022 - 2025 — McMap. All rights reserved.