Hey guys having issues with customizing the date picker in android. Here's an image of my current date picker.
As I've highlighted in black two things I'm having issues with.
Is there away to remove the header of the date picker? I just want the calendar part.
Is there a way to adjust the date picker so that it'll fit the width of any screen it's on?
I'm using a date picker not a date picker dialog.
to remove the header
datePickerDialog.setTitle("");
see the link,
Remove Title from DatePickerDialog
to get fullscreen, set android:layout_width to match_parent
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.