I am new to Compose and currently having issues with customizing the DateRangePicker. What I want to do is to remove the edit icon and replace it with the left/right arrow as you see in the DatePicker. Also, the title looks too big and crammed. I have searched for a solution but wasn`t able to find a good one. It will be really helpful if you can provide me with tips or a sample code. Thank you in advance.
@Composable
fun DateRangePickerScreen() {
val dateTime = LocalDateTime.now()
val dateRangePickerState = remember {
DateRangePickerState(
initialSelectedStartDateMillis = dateTime.toMillis(),
initialDisplayedMonthMillis = null,
initialSelectedEndDateMillis = dateTime.plusDays(3).toMillis(),
initialDisplayMode = DisplayMode.Picker,
yearRange = (2023..2024)
)
}
DateRangePicker(state = dateRangePickerState)
}