Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create the custom Calendar in LWUIT?

Currently in LWUIT, I can use Calendar. But I can't add the notes on particular dates.

How to create the custom Calendar in LWUIT? Because I need to show the birthday notes on LWUIT Calendar and want to show the birthday notes when user select that particular dates. See this sample image,

enter image description here

Is this possible to create like above sample Calendar in LWUIT?

like image 957
bharath Avatar asked Oct 08 '22 04:10

bharath


1 Answers

You can derive Calendar and override:

protected void updateButtonDayDate(Button dayButton, int currentMonth, int day);

Here you can effectively customize the button in any way you choose starting by setting a UIID or anything like that.

If you want to add basic features to the button via inheritance you can override:

protected Button createDay();
like image 191
Shai Almog Avatar answered Nov 01 '22 08:11

Shai Almog