Hide CalendarView in tablets

This commit is contained in:
Miroojin Bakshi 2014-03-04 19:20:56 +05:30
parent 0a12c41ca9
commit 50813ef188

View File

@ -129,6 +129,9 @@ public class KeyEditor extends LinearLayout implements Editor, OnClickListener {
}
}
});
//setCalendarViewShown() is supported from API 11 onwards.
if (android.os.Build.VERSION.SDK_INT >= 11)
dialog.getDatePicker().setCalendarViewShown(false);
dialog.show();
}
});