I want to add a similar calendar to the application:

Deleted intentionally, do not return the image

I can hardly write myself, 2 months in Android. I try to connect existing solutions, but I encounter difficulties due to the lack of the necessary functionality.

Can someone tell me what would be better to use in my case? Or maybe I missed something in existing solutions?

Two things are needed: - To be able to mark any day with one or several round markers (it is enough to be able to attach several drawable / xml / ...). - Have the ability to set the background of any day (at least somehow, even Color will be enough)

What I tried and why the solutions did not take root:

  • so much, your comments on them very easy to finish. Forknite more suitable github.com/snollidea/peppy-calendarview this one almost in 1 that you need, even according to the needs of the customer, saw the features. answer your question - write. Since it is very large without specific problems and therefore it can be solved in many ways in the end it sounds: “do it to me” - Shwarz Andrei
  • I'm just picking on this lib trying to do something similar to my calendar (while struggling with the darkness of mistakes). Asking a question, I thought that someone had already done something similar with SO and would share the solution, or would point out the information I had missed. Because I have been working very recently, I didn’t expect that I would have to go to someone else’s. =) - KirstenLy
  • Why delete a picture that shows exactly what you want to get? - Grundy
  • Because it is already implemented and I do not want to "shine" what is involved in the existing working project. I would like to delete the question altogether, because the really useful and unsubscribed answers are not presented here, but I cannot do it (the SO logic does not allow, the alarms are rejected). So I just delete the picture. Do not restore it. Or just kill the question if you can. If you lose the reputation of the votes - let. - KirstenLy pm
  • SO is not a freelance exchange, where they publish orders and delete them after execution. SO is for the most part Wikipedia of problems and solutions. The posted question does not belong to you . Put the alarm on the question, let the moderators look and decide how to be. - Kromster

2 answers 2

As an option, I can offer you a look at a very interesting solution: https://github.com/square/android-times-square

Using the calendar is quite simple, plus the functionality you need, like highlighting certain dates or highlighting the current one, is already present. Therefore, you just need to edit the background and make it into a circle.

  • The option is really good. In theory, I could edit the borders of the cells, but I can’t do the selection of the required dates with dots: the calendar provides its own cellView which has no methods for customization at all, so you have to use the default setBackgroundColor and so on, which will not result. - KirstenLy

Too you have certain remarks for a person who is two months in development, it looks like you have quite good experience in developing in other directions. And accordingly, I can advise you to study ConstraintLayout more deeply or to RelativeLayout , although in current trends the first is preferable and you (in total with research and development) spend a maximum of a week to solve this problem, but you will understand how this whole topic is cooked and You can effortlessly modify any library (although you probably don’t need it), you’ll see that it’s really much simpler than it seems.

And using other people's libraries is good, but only if they fully or almost completely cover your task, not only visually but also with the logic of work.

PS After all, in the end you will spend the same time and plus come to the same.