bharath
bharath

Reputation: 14453

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?

Upvotes: 5

Views: 642

Answers (2)

akash kubavat
akash kubavat

Reputation: 847

You can modify calendar's all the things in themes / designer, including color, font etc.

enter image description here

Just add appropriate component..

Thanks, Akash

Upvotes: 0

Shai Almog
Shai Almog

Reputation: 52760

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();

Upvotes: 4

Related Questions