UI.DatePicker.Android.Style

Android

Since

3.1.3

According to your requirements, you should choose of the theme enums. If there is no theme specified then default them style will be applied. Theme enum must be given with constructor.

Example

import DatePicker from '@smartface/native/ui/datepicker';
const myDatePicker = new DatePicker({
android: {
style: DatePicker.Android.Style.DEFAULT_DARK
}
});
myDatePicker.onDateSelected = (date) => {
console.log('Year: ' + date.getFullYear() + ' Month: ' + date.getMonth() + ' Day' + date.getDate());
};
myDatePicker.show();

Enumeration Members

DEFAULT: 0

Native default DatePicker theme.

Property

Static

Android

Since

3.1.3

DEFAULT_DARK: 16974545

Native default dark theme with a dark background.

Property

Static

Android

Since

3.1.3

DEFAULT_LIGHT: 16974546

Native default light theme with a light background.

Property

Static

Android

Since

3.1.3

MATERIAL_DARK: 16974374

Material dark theme with two-tone backgrounds.

Property

Static

Android

Since

3.1.3

MATERIAL_LIGHT: 16974394

Material light theme with two-tone backgrounds.

Property

Static

Android

Since

3.1.3

Generated using TypeDoc