{ "id": "105557", "key": "TIMOB-11865", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15079", "description": "2013 Sprint 02 API", "name": "2013 Sprint 02 API", "archived": true, "released": true, "releaseDate": "2013-01-28" }, { "id": "14812", "description": "2013 Sprint 02", "name": "2013 Sprint 02", "archived": true, "released": true, "releaseDate": "2013-01-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-01-24T19:39:54.000+0000", "created": "2012-11-27T12:12:12.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "SupportTeam", "qe-port", "tableViewRow", "xml" ], "versions": [], "issuelinks": [ { "id": "27657", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "112649", "key": "TIMOB-14519", "fields": { "summary": "Android: When using Holo theme, table highlight color does not match", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-07-02T10:42:15.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": "h1. Problem description\r\nWhen choosing the Holo theme for Android, the highlight color for table rows is not the right one (blue); instead, the highlight is orange. With the same theme, the pressed button is blue as it should.\r\n\r\nh1. Steps to reproduce\r\nFirst of all, activate the Holo theme by adding it in the tiapp.xml:\r\n\r\n{code}\r\n[...]\r\nandroid:theme=\"@android:style/Theme.Holo\"\r\n[...]\r\n{code}\r\n\r\nThen, using the following code you can verify that pressing a row in the table results in an orange highlight, while pressing the button shows a blue background:\r\n\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ \r\n backgroundColor:\"#000\"\r\n});\r\n\r\nvar table = Ti.UI.createTableView();\r\nvar rows = [];\r\nfor(var i=1; i<=10; i++) {\r\n var row = Ti.UI.createTableViewRow({\r\n title: \"Wrong color \" + i\r\n });\r\n \r\n rows.push(row);\r\n} \r\n\r\ntable.setData(rows);\r\nwin1.add(table);\r\n\r\nvar button = Ti.UI.createButton({\r\n title: \"Right color\"\r\n});\r\nwin1.add(button);\r\n\r\nwin1.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: When using Holo theme, table highlight color does not match", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [ { "id": "108417", "key": "TIMOB-12390", "fields": { "summary": "Backport to 3.0.2: TIMOB-11865", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } ], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "SDK 2.1.4\r\nSDK 3.0.0\r\nAndroid 4.1", "comment": { "comments": [ { "id": "235437", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/3758", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-23T00:37:15.000+0000", "updated": "2013-01-23T00:37:15.000+0000" }, { "id": "235440", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "For FR, please run the above test case and the test cases in TIMOB-4647 and TIMOB-9616 and run KS->Base UI->Views->Table Views as a sanity check.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-23T00:46:53.000+0000", "updated": "2013-01-23T00:46:53.000+0000" }, { "id": "235826", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing.\nTested and verified fix with:\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK, build: 3.0.2.v20130124114701\nTitanium SDK, build: 3.1.0.v20130124121019\nDevice:\nNexus4 4.2", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-25T00:51:11.000+0000", "updated": "2013-01-25T00:51:11.000+0000" }, { "id": "260582", "author": { "name": "joucke@tres.nl", "key": "joucke@tres.nl", "displayName": "Joucke Hempenius", "active": true, "timeZone": "Europe/Berlin" }, "body": "Why was this closed as fixed? It's still happening... Also, the tablerow dividers are different than from Holo theme.\r\n\r\nDevice: Samsung Galaxy S3 mini, 4.1\r\nTitanium SDK 3.1.1.GA", "updateAuthor": { "name": "joucke@tres.nl", "key": "joucke@tres.nl", "displayName": "Joucke Hempenius", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-07-02T10:42:15.000+0000", "updated": "2013-07-02T10:42:15.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }