Thanks for the info Mark.

I am still new to Android and Java in itself. How would I create a
subclass of a class? Do I make a class the extends the DatePicker or
does it implement the DatePicker? Or is it done totally different.

Thanks,
Derek

On Oct 1, 2:27 pm, Mark Murphy <[email protected]> wrote:
> 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/commonsguyhttp://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

Reply via email to