public void setMode ( int mode , boolean animation ) { if ( mMode != mode ) { mMode = mode ; if ( mOnTimeChangedListener != null ) mOnTimeChangedListener . onModeChanged ( mMode ) ; if ( animation ) startAnimation ( ) ; else invalidate ( ) ; } }
Set the select mode of this TimePicker .