public void setFlags ( int modeOrFlags ) { // check each flag and pass it on if needed: setHideTime ( ( modeOrFlags & FLAG_HIDE_TIME ) != 0 , isActivityUsingDarkTheme ( ) ) ; dateSpinner . setFlags ( modeOrFlags ) ; timeSpinner . setFlags ( modeOrFlags ) ; }
Set the flags to use for the picker .