Android-Week-View icon indicating copy to clipboard operation
Android-Week-View copied to clipboard

adding icon to the event

Open Cbosh opened this issue 9 years ago • 8 comments

I want to add the icon to the event for status purpose but the event can only display the subject

Cbosh avatar Dec 06 '15 13:12 Cbosh

I think you'll have to adapt the library yourself to your need. But don't worry, the library is rather small, so it should probably be an easy fix.

entropitor avatar Dec 06 '15 19:12 entropitor

if I adopt the library and make the changes, how do I add the updated one back to my project.

On Sun, Dec 6, 2015 at 9:53 PM, Jens Claes [email protected] wrote:

I think you'll have to adapt the library yourself to your need. But don't worry, the library is rather small, so it should probably be an easy fix.

— Reply to this email directly or view it on GitHub https://github.com/alamkanak/Android-Week-View/issues/217#issuecomment-162341591 .

Cbosh avatar Dec 07 '15 19:12 Cbosh

you'll have to include this project als a gradle module by using a project(:weekview:library) instead of a compile ... (assuming the library is in the weekview submap, next to your app directory).

entropitor avatar Dec 07 '15 21:12 entropitor

Yes, and I maybe it could be a good idea to use font icons to do that: you already have the possibility to write text so why not using a custom font which will manage the different resolution: I made it with that for instance. But there are other ways, only a recommandation :smile:

lolobosse avatar Dec 10 '15 20:12 lolobosse

I created a PR that adds this functionality https://github.com/alamkanak/Android-Week-View/pull/266 ;-)

vermotr avatar Jan 24 '16 22:01 vermotr

Thanks man, so should I adopt the library to use the methods that you created or I can be able to access the methods if I import it again

Cbosh avatar Jan 25 '16 19:01 Cbosh

I have proposed a PR to add this functionality but if you already want to use it, you can clone my fork and import it in Android Studio (File > New > Import Module...).

vermotr avatar Jan 30 '16 15:01 vermotr

Hi everyone, how can i get this new feature in my project? I already have the library in my app but i want to add an icon my events. Thank you!

isairuiz avatar Mar 05 '20 19:03 isairuiz