Re: [android-developers] Custom theme for android DatePicker dialog shows unpleasant border

2012-08-06 Thread Mulsaniya Bhadresh
Remove theme argument "Android.R.style.Theme_ DeviceDefault_Light_Dialog " On Sat, Aug 4, 2012 at 4:47 PM, sweta wrote: > Hi All, > > I am trying to use custom DatePicker dialog. > For that I modified the OnCreateDialog method so that it returns a date > picker with specific theme like this > @

[android-developers] Custom theme for android DatePicker dialog shows unpleasant border

2012-08-06 Thread sweta
Hi All, I am trying to use custom DatePicker dialog. For that I modified the OnCreateDialog method so that it returns a date picker with specific theme like this @Override protected Dialog onCreateDialog(int id) { switch (id) { case DATE_DIALOG_ID: return new DatePickerDialog(getActivity(),And

[android-developers] Custom theme for android DatePicker Dialog shows unpleasant border

2012-08-06 Thread sweta
Hi, I am trying to use a custom date picker dialog for this I modified code as below @Override protected Dialog onCreateDialog(int id) { switch (id) { case DATE_DIALOG_ID: return new DatePickerDialog(this,Android.R.style. Theme_DeviceDefault_Light_Dialog, mDateSetListener, mYear, month, mDay); }