title: How to set datePickerMode="spinner" programmatically?
body: <p>I need create DatePicker programmatically. And i can't use xml layout. i know set spinner in xml <code>datePickerMode="spinner"</code> and then i can use <code>datePicker.setSpinnersShown(true);</code> and <code>datePicker.setCalendarViewShown(false)</code> I try add <code>AttributeSet</code> into constructor but i don't know how use it. 
  Can someone help? How to create a DataPicker in spinner mode?</p>
  
  <p>Thank you </p>