Changing tab background graphics not possible using MAknsSkinInstance::SetLocalItemDefL (Known Issue)
Article Metadata
Tested with
Devices(s): Tested on Nokia N95,
Nokia 6210 Navigator
Nokia 6210 Navigator
Compatibility
Platform(s): S60 3rd Edition FP1 & FP2
S60 5th Edition (initial release)
S60 5th Edition (initial release)
Article
Keywords: SetLocalItemDefL
Created: User:Technical writer 1
(13 Jan 2009)
Last edited: hamishwillee
(13 Aug 2012)
Description
Changing the tab background graphics programmatically using MAknsSkinInstance::SetLocalItemDefL() is not possible.
Setting the local skin item definition using this API works for some skin items such as the status pane (see TSS001174 - Changing the skin of the status pane) but not for tab background graphics.
The skin items used to draw the tab background are:
- KAknsIIDQgnGrafTabActiveL (left section of an active tab background)
- KAknsIIDQgnGrafTabActiveM (middle section of an active tab background)
- KAknsIIDQgnGrafTabActiveR (right section of an active tab background)
- KAknsIIDQgnGrafTabPassiveL (left section of a passive tab background)
- KAknsIIDQgnGrafTabPassiveM (middle section of a passive tab background)
- KAknsIIDQgnGrafTabPassiveR (right section of a passive tab background)
MAknsSkinInstance::SetLocalItemDefL() when used with these skin items actually changes the active and passive tab background graphics to gray and blue respectively, irrespective of the colour of the bitmap used and the selected theme.
Solution
No solution available.


(no comments yet)