florent37 / SingleDateAndTimePicker

You can now select a date and a time with only one widget !
Apache License 2.0
1.02k stars 333 forks source link

#311 issue resolved,Added background shape customisation, OK button text configurable #315

Open akashk2512 opened 3 years ago

akashk2512 commented 3 years ago

Added above new features to give more customization to developers

new SingleDateAndTimePickerDialog.Builder(mContext) .bottomSheet() .curved() .mustBeOnFuture() .displayMinutes(true) .displayHours(true) .displayDays(false) .displayYears(false) .displayDaysOfMonth(false) .mainColor(Color.parseColor("#FAFAFA")) .backgroundColor(Color.parseColor("#1D2D51")) .titleTextColor(mContext.getResources().getColor(R.color.white)) .title("Pickup Time") / New features added below / .setButtonIconRight(R.drawable.ic_right_arrow_light_blue) .setButtonName("NEXT") .setBackgroundShape(R.drawable.top_curve_shape_timepicker) .setButtonTextColor(mContext.getResources().getColor(R.color.orange_update)) .display();