{ "id": "62141", "key": "TIMOB-1509", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11229", "name": "Release 1.5.0 M04", "archived": true, "released": true, "releaseDate": "2010-12-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:56:22.000+0000", "created": "2011-04-15T02:54:44.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:56:22.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
In the Kitchen Sink layout example (the first one, the\nStarbucks-ish one), selectedBackgroundImage is not used when a row\nis tapped - the default Android orange highlight still shows.\nTested on a version of 1.4.1 pulled from master.
A simpler fail case. App.js (assumes you have KS_nav_ui.png in\nyour Resources, which is there by default):
\n\nTitanium.UI.setBackgroundColor('#000');\nvar w = Titanium.UI.createWindow({ \n title:'Test',\n backgroundColor:'#fff',\n fullscreen: true,\n exitOnClose: true\n});\n\nvar rows = [];\nfor (var i = 0; i < 30; i++) {\n rows.push(\n Ti.UI.createTableViewRow({\n selectedBackgroundImage: 'KS_nav_ui.png', \n title: 'row ' + i\n })\n );\n}\nw.add(Ti.UI.createTableView({data: rows}));\nw.open();
\n
\nIf you run that in Android, touching a row does not\nshow the background image. If, however, you happen to use the\nscroll wheel to move around, it does show.
\nAssigning to Mr. D. Thorp for milestone/priority.
(from [3ffe548cf7e1e12bf55f82aecf3860ab66e9c8c3])\ninitial implementation of backgroundSelectedImage and\nbackgroundSelectedColor for TableViews in Android. [#1509\nstate:fixed-in-qa] \nhttps://github.com/appcelerator/titanium_mobile/commit/3ffe548cf7e1...
(1.5.0.7d08f15), g2 and 2.1 sim added test to bugtest