{ "id": "111599", "key": "AC-1747", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-03-25T21:06:58.000+0000", "created": "2013-03-25T11:49:58.000+0000", "labels": [ "alloy" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:40:38.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I am trying to create a tableviewsection for tableview with alloy markup and in tss make styling for it.\r\nhere is a code I think the problem is in creation header view on creation:\r\n\r\n{code}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \t\r\n\t \t\r\n \r\n \r\n \t\r\n\t \t\r\n \r\n \r\n \t\r\n\t \t\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \t\t\r\n\t \t\r\n \r\n \r\n \t\r\n\t \t\r\n \r\n \r\n \t\r\n\t \t\r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nin tss file I do something like that:\r\n\r\n{code}\r\n\".sectionHeaderView[platform=android]\" : \r\n {\r\n width: Ti.UI.FILL\r\n , height: \"25dp\"\r\n , backgroundColor: \"#7d820c\" \r\n }\r\n, \".headerViewLabel[platform=android]\" : \r\n {\r\n left: \"5dp\"\r\n , height: \"25dp\"\r\n , textAlign: Ti.UI.TEXT_ALIGNMENT_LEFT\r\n , font: \r\n {\r\n fontSize: \"15dp\"\r\n , fontWeight: \"bold\" \r\n }\r\n , color: \"#fff\"\r\n , width: Ti.UI.FILL\r\n }\r\n, \".sectionHeaderView\" : \r\n {\r\n height: \"30dp\"\r\n , font: {\r\n fontSize: \"14dp\"\r\n }\r\n , width: Ti.UI.FILL\r\n }\r\n, \".headerViewLabel\" : \r\n {\r\n textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER\r\n , font: {\r\n fontSize: \"20dp\"\r\n , fontWeight : \"bold\"\r\n }\r\n , width: Ti.UI.FILL\r\n , color: \"#4169E1\"\r\n }\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Alloy: HeaderView not working on android", "creator": { "name": "alejandro.del.rio", "key": "alejandro.del.rio", "displayName": "Alejandro Del Rio Albrechet", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "alejandro.del.rio", "key": "alejandro.del.rio", "displayName": "Alejandro Del Rio Albrechet", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "243968", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Alejandro,\nAre you able to confirm that this issue is only in alloy? Also can you provide the Ti SDK you are testing on, the Titanium build you are using as well as the android OS version you are seeing the issue on? Thank you,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-25T18:35:59.000+0000", "updated": "2013-03-25T18:35:59.000+0000" }, { "id": "243969", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I don't have it off-hand, but there already exists a TIMOB ticket for fixing Android headerViews that are added after the table's creation. ", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-25T18:38:13.000+0000", "updated": "2013-03-25T18:38:13.000+0000" }, { "id": "243996", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-25T21:06:37.000+0000", "updated": "2013-03-25T21:06:37.000+0000" }, { "id": "281037", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "DUP issue. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:30:06.000+0000", "updated": "2013-11-24T22:30:06.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }