Skip to main content

LWUIT theme does not reflect on List with custom renderer

1 reply [Last post]
obinnahenree
Offline
Joined: 2007-03-08
Points: 0

hi, i have a list using a custom renderer, but when i apply any lwuit theme, other components get themed except the List.
The List just stays black and white.

How can i resolve this issue?

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07
Points: 0

You need to apply the proper styles to the list renderer. The defaults for the list renderer are ListRenderer and ListRendererFocus.

If you have a custom renderer you might need to manually update the style when the theme is updated since LWUIT can't deliver theme change events to the renderer interface only to the component within.