On Wed, Sep 29, 2010 at 4:15 PM, Derek <[email protected]> wrote: > Is there a way to use the DatePickerDialog widget but only show/use > the year/month and not the day? I would like to do a magazine entry > type screen which would be a year/month setup without the day. Any > advice would be helpful.
Unfortunately, the dialog is not configurable. Neither is the underlying DatePicker widget, AFAIK. You may be able to subclass DatePicker and have it use a different layout, or clone the DatePicker source code to create your own YearAndMonthPicker. Then, you can wrap that in an AlertDialog. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in Atlanta: http://bignerdranch.com/classes/android -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

