Code example for DatePicker

Methods: setCalendarViewShown

public class UIElementCreator { 
	//Use to create a date picker UI element 
	public static DatePicker createDatePicker(Context context)
		DatePicker thisDatePicker = new DatePicker(context);
		return thisDatePicker;
	//Use to create a static Text Label UI element 
	public static TextView createLabel(Context context, String labelText)
		TextView thisTextView = new TextView (context);
		return thisTextView;
	//Use to created a Spinner UI element 
	public static Spinner createSpinner(Context context, String[] options)