Pat
Pat

Reputation: 1275

Custom header bar on Nokia S40 J2ME SDK 2.0

I'm trying to change the background and foreground/font color of the black/blue header bar in Nokia Asha.

enter image description here

I'm using the Nokia SDK 2.0 for Java and the Nokia Asha's LWUIT version. However, form.getTitleArea() and form.getTitleStyle() seem not to work as I'm not getting any changes when I use them to set the fgColor and the bgColor.

How can I change it?

Upvotes: 2

Views: 454

Answers (1)

Mun0n
Mun0n

Reputation: 4437

The standard color in the title bar is defined by the color selected in the settings options of the device. You can't change it from code. If you need to create a custom header, you can hide the default title bar and create some component which act like a header.

Upvotes: 1

Related Questions