Use one of the five built-in AlertDialog
themes:
THEME_TRADITIONAL
- The traditional (pre-Holo) alert dialog themeTHEME_HOLO_DARK
- The holographic alert theme with a dark backgroundTHEME_HOLO_LIGHT
- The holographic alert theme with a light backgroundTHEME_DEVICE_DEFAULT_DARK
- The device's default alert theme with a dark background.THEME_DEVICE_DEFAULT_LIGHT
- The device's default alert theme with a light background.
For instance:
MyTimePickerDialog timePickerDialog = new MyTimePickerDialog(AdvancedCDT.this,
TimePickerDialog.THEME_HOLO_DARK, timeSetListener, 0, 0, true);
Results