Remove theme argument "Android.R.style.Theme_ DeviceDefault_Light_Dialog "
On Sat, Aug 4, 2012 at 4:47 PM, sweta <sweta.s...@gmail.com> 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 > @Override > protected Dialog onCreateDialog(int id) { > switch (id) { > case DATE_DIALOG_ID: > > return new > DatePickerDialog(getActivity(),Android.R.style.Theme_DeviceDefault_Light_Dialog, > this, year, month, day); > } > I get an ugly non-transparent border around my date picker when it is > displayed: > > (screenshot here: http://i.stack.imgur.com/WO1YD.png) > > What can I do to get rid of the border? > > Thanks in advance....... > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en