Basic High customizable Single Row Calendar component for Jetpack Compose
| Simple Usage | Customized Component |
|---|---|
![]() |
![]() |
implement the library by adding this dependency to your module's build.gradle
implementation("io.github.ahmednader65:ComposeSingleRowCalender:version")
Simple Usage
var day by remember { mutableStateOf(Date()) }
SingleRowCalendar(onSelectedDayChange = {
day = it
}) SingleRowCalendar(
modifier = Modifier.background(Color.Black),
selectedDayBackgroundColor = Color.Red,
selectedDayTextColor = Color.White,
dayNumTextColor = Color.Cyan,
dayTextColor = Color.Yellow,
iconsTintColor = Color.Gray,
headTextColor = Color.Magenta,
headTextStyle = MaterialTheme.typography.bodyLarge,
nextDrawableRes = R.drawable.custom_next_icon,
prevDrawableRes = R.drawable.custom_prev_icon,
onSelectedDayChange = {
day = it
})
