質問

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?

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top