How to change Android DatePicker Dialog's “Dividers” Colors

前端 未结 6 1392
無奈伤痛
無奈伤痛 2021-01-04 18:50

I\'m trying to create a custom dialog, basically I\'m using DatePickerDialog.THEME_HOLO_DARK but I want to change the \"divider\" color and the text color.

6条回答
  •  执笔经年
    2021-01-04 19:13

    You will have to create your own theme that extends THEME_HOLO_DARK. Change basic theme color of android application

    Edit: Try something like this

    
    

    And pass the reference to your theme to the constructor

提交回复
热议问题