Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

android tableviewrow selectionstyle

how can i disable the default orange selectioncolor completely on android? i tried selectionStyle: 'none', but this doesn't seem to work. what alternatives do exist to remove it completely or show another pic? changing backgroundImage doesn't seem to work too …

— asked June 20th 2010 by Christian Sigl
  • android
  • selectionstyle
  • tableviewrow

2 Answers

  • I'm also wondering about this. Ever find a solution?

    — answered December 17th 2010 by Mike Dosey
  • hi Christian for that u have to just asign selectedBackgroundColor:'color_name' of tableViewRow and that's it.

    — answered November 7th 2011 by rajveer singh
    1 Comment
    • ok, that works for selection, but you can still see the annoying orange color (in emulator and the according one in the device) when clicking/tapping etc. I cannot believe that adding listeners is the only solution.. Since it changes by default on clicking/tapping, there should be a property to control it..

      — commented November 24th 2011 by Onoma Epitheto
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.