Customizar a cor do click em uma TableViewRow

4 views
Skip to first unread message

brunomarks

unread,
May 24, 2012, 4:14:58 PM5/24/12
to Appcelerator Titanium Mobile - Brasil
Pessoal, no iPhone quando eu seleciono uma TableViewRow usando os
eventos de 'click' ou 'singleTap' a cor de seleção padrão é azul, como
faço pra setar uma cor alternativa? Não achei isso na documentação.

Nuno Costa

unread,
May 24, 2012, 5:36:15 PM5/24/12
to titanium-...@googlegroups.com

Ajuda?

setSelectedColor ----- Sets the value of the selectedColor property. (iPhone, iPad only.)

http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.TableViewRow.selectedColor-property.html

Abraço
Nuno Costa

Bruno Marques

unread,
May 25, 2012, 3:30:52 PM5/25/12
to titanium-...@googlegroups.com
Resolvi com selectedBackgroundColor : 'hexa', Muito Obrigado Nuno!

-- 
Bruno Marques
Sent with Sparrow

Reply all
Reply to author
Forward
0 new messages