Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android picker/list similar to iOS date picker

Tags:

android

picker

I'd like to implement an ios style picker on Android with multiple columns, such as this one:

enter image description here

Yes, I know that Android has a slightly different platform default for this kind of UI, but I really like the IOS style that shows the different options above and below and lets you easily drag up and down.

I'm already aware of this DateSlider project, but it's specific for dates, and I want to use it for custom lists. And also it uses horizontal scrolling rather than vertical.

Thanks!

like image 999
Joel Martinez Avatar asked Sep 13 '11 17:09

Joel Martinez


People also ask

What is DatePicker in Android?

Android DatePicker is a user interface control that is used to select the date by day, month, and year in the android application. DatePicker is used to ensure that the users will select a valid date.

Is date picker dialog class available in Android?

Android Date Picker allows you to select the date consisting of day, month and year in your custom user interface. For this functionality android provides DatePicker and DatePickerDialog components.

What is date picker and time picker in Android?

Android provides controls for the user to pick a time or pick a date as ready-to-use dialogs. Each picker provides controls for selecting each part of the time (hour, minute, AM/PM) or date (month, day, year).

Which method can be used to get the current day from a DatePicker object in Android?

Then, it's just: datePicker. getDate() .


1 Answers

I was looking for something like that, until I found this widget. This is how it looks like:

enter image description hereenter image description here

Although I still didn't find a way to use it in my app ! Any help will be appreciated :)

like image 98
iTurki Avatar answered Oct 02 '22 08:10

iTurki