Thursday, 8 August 2013

Dynamically change text color of all items in ListView

Dynamically change text color of all items in ListView

I want to change my activity theme dynamically without recreating
activity, the only solution I could find was to change items properties
(like background, textColor) in place, but I have a ListView with number
of items, I could iterate through all items in ListView and change
textColor, but I think it's kinda ugly solution.
Is there any better way to achieve this?
Thank you in advance

No comments:

Post a Comment