06-01-2011 10:34 AM
I'm developing custom Calendar which should be very similar to native Blackberry calendar. I cannot use the native one. I'm working with OS 6.0.
I reused the code from http://supportforums.blackberry.com/t5/Java-Develo
Now I'm facing another chalenge. I need to put events, coloured rectangles with some text and possibly image on top of the TableLayoutManager that I'm using to display the calendar view. I need to calculate the size and location, and in some cases the events can be overlapped, depending on the time and duration.
Anyone has any idea how to achieve this? I can do the calculation, but I don't know how to put the rectangles (focusable, with text and image.) on top of the existing manager. What control to use and how to put it on top of the base TableLayoutManager manager?
I tried to overide sublayout method of the manager, but it just messed up the whole TableLayoutManager.
Any help will be greatly appreciated. Thanks.