Skip to content Skip to sidebar Skip to footer

How To Resize Datepicker Text Programmatically

I'm using rey5137's datepicker dialog, how to resize datepicker text size programmatically little bit bigger because in nexus 7, datepicker size is very small...this is the code ex

Solution 1:

 <style name="CustomStyle_DatePicker" parent="Material.App.Dialog.DatePicker">
        <item name="dp_dayTextSize">15sp</item>
   </style>

And apply this style to your datepickerdialog

 builder = new DatePickerDialog.Builder(R.style.CustomStyle_DatePicker) {....

Post a Comment for "How To Resize Datepicker Text Programmatically"