Reputation: 5522
I have a DatePickerDialog in my app. In the title of the dialog, the current selected date is displayed as 'Jan 30, 2012'. I wish to have the date in the title displayed like in this dialog: http://www.mkyong.com/wp-content/uploads/2011/11/android-datepicker-demo2.png (i.e. with a 'day').
How is this achieved?
Upvotes: 0
Views: 550
Reputation: 1563
The picker take the date format chosen by the user, which mean that you can't customize the default one.
Android provides a set of fully implemented widgets, like buttons, checkboxes, and text-entry fields, so you can quickly build your UI. Some widgets provided by Android are more complex, like a date picker, a clock, and zoom controls. But you're not limited to the kinds of widgets provided by the Android platform. If you'd like to do something more customized and create your own actionable elements, you can, by defining your own View object or by extending and combining existing widgets.
But take a look here, for custom components:
Upvotes: 1