Tizen Developers

Menu
Sites
Language
ListView disabled item (row) color

Hello,

how to change color of ListView custom item when we set listView->SetItemEnabled(0, false) ?
Default it is white/gray color but i want it to be transparent.. 

Using ListAdapter::CreateItem(int index, float itemWidth) i'm creating custem CustomItem but listItemDrawingStatus is ony normal, highlighted, pressed without disabled option...

Regards

Edited on 18 03, 2014

Responses

4 Replies
muditha murthy
I don't think you can make an individual custom item as transparent when disabled. You can provide the transparency feature to the whole list by setting a tranparent background bitmap.
Michał
Whole list is already transparent.. but when row is disabled its row is gray/white and I could not find any function to change it. I don't know if its hardcoded or what...
Michał
I'm already doing it like you said... so there is no other way.. hardcoded color... nice
Jirka Prazak
Hello, I'm having a same problem but cannot use this workaround as I have slider in each list item and that needs to be disabled on all list items as long as one is active. This workaround will only change the look and feel of the items but will not disable the on/off switch like SetIetmEnabled() will. Any suggestions? In my opinion this is a bug in the framework because the white color overwrites all background. Thanks for any help -J