Frage

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?

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top