BlackAndWhite
BlackAndWhite

Reputation: 55

How to display calendar view in a single row in android

i don't know how to customize a calendar view to be the same as the picture for my application. Here is my example picture.

enter image description here

Upvotes: 1

Views: 4588

Answers (2)

miso01
miso01

Reputation: 462

In the past, I had the same problem so I have created a Kotlin library which solves this problem. You can create a calendar with your custom UI and use selection features with few lines of code. You can find the repository here and here is an article about my sample app.

Additionally, there is a similar library for Java here.

Upvotes: 4

kemdo
kemdo

Reputation: 1459

Yes u can define a custom calender view like that. Here is my suggestion:

  • ListView/ReceyclerView
  • Calendar class

Easy way is make user pick month/year first, your list only display day.

Upvotes: 0

Related Questions