从DatePickerDialog删除标题 [英] Remove Title from DatePickerDialog
本文介绍了从DatePickerDialog删除标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
由于某种原因,我的DatePickerDialog中有两个标题.
For some reason, I have two titles in my DatePickerDialog.
如何摆脱顶部的白色标题? 这是我用来创建对话框的代码:
How can I get rid of the white title at the top? This is the code I use to create the Dialog:
datePickerDialog = new DatePickerDialog(ProfileActivity.this, this, year, month, day);
datePickerDialog.getDatePicker().updateDate(year, month - 1, day);
datePickerDialog.show();
推荐答案
datePickerDialog.setTitle("");
这篇关于从DatePickerDialog删除标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文