[TIMOB-4647] Android: TableView backgroundColor disables the system row selector
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-04T16:36:34.000+0000 |
Affected Version/s | Release 1.7.1 |
Fix Version/s | Sprint 2011-29, Release 1.8.0, Release 1.7.6 |
Components | Android |
Labels | module_tableview, qe-testadded |
Reporter | Marshall Culpepper |
Assignee | Eric Merriman |
Created | 2011-07-13T08:50:00.000+0000 |
Updated | 2012-01-04T16:36:34.000+0000 |
Description
If a TableViewRow has a custom backgroundColor set, and no backgroundSelectedColor or backgroundSelectedImage, then the system's row selector doesn't seem to get used. Here's a simple example:
var win = Ti.UI.createWindow({
top: 0, left: 0, bottom: 0, right: 0,
backgroundColor: "white"
});
var table = Ti.UI.createTableView({
data: [ { title: "Custom background", backgroundColor: "yellow", color: "black" } ]
});
win.add(table);
win.open();
When you touch the yellow row, the system's default selector should highlight it, but currently nothing is happening.
Tested with 1.8.0.v20110819142548 Motorola Xoom 3.2 Nexus One 2.2.2
Edit comment
Standardizing summary and labels.
updating fixed version for merge
Tested on Ti Studio 1.0.7.201112080131 Ti Mob SDK 1.8.0.1.v20111209011840 OSX Lion Nexus S OS 2.3.6 Expected behavior of row being highlighted is shown
Reopening/closing to add/remove labels