{ "id": "154174", "key": "AC-559", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-01-10T08:19:51.000+0000", "created": "2016-01-07T22:19:36.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-01-10T08:19:51.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": [], "description": "According to this doc http://docs.appcelerator.com/platform/latest/#!/guide/Android_Themes-section-34636181_AndroidThemes-MaterialTheme I should be able to set the colorAccent and/or colorControlActivated property to specify the foreground color of various controls, including the switch. I think these are also supposed to set the color of the TextField underline and caret.\r\n\r\n{code}\r\n #ef6123\r\n #757575\r\n #ef6123\r\n #ef6123\r\n{code}\r\n\r\nHowever, as shown in the attached \"colorAccent.png\" image, these values have no effect. Other colors, such as colorPrimary and colorPrimaryDark to set the ActionBar and StatusBar colors are working (as shown in the Screen Shot graphic). So, I think my theme is correctly configured.\r\n\r\nI have tried also specifying the color in my styles file with this entry:\r\n\r\n{code}\r\n \r\n{code}\r\n\r\nwhere @color/cursor is set to {{#ffef6123}} in my colors file. This also has no effect on the caret.\r\n\r\nI'm not sure if this is a documentation issue or an SDK issue. I have searched the Android docs and StackOverflow and these appear to be the correct names. So, this is probably an SDK issue.", "attachment": [ { "id": "57904", "filename": "colorAccent.png", "author": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "created": "2016-01-07T22:13:34.000+0000", "size": 11458, "mimeType": "image/png" }, { "id": "57903", "filename": "Screen Shot 2016-01-07 at 11.42.38 AM.png", "author": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "created": "2016-01-07T22:13:44.000+0000", "size": 15596, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Colors not applied to TextField underline, caret, and active Switch per docs", "creator": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "environment": "Ti SDK 5.1.1.GA, Titanium CLI 5.0.5, Alloy 1.7.30\r\nTested on an Android 6.0 emulator, 5.1 emulator, and 5.0 device", "comment": { "comments": [ { "id": "374088", "author": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "body": "Since I can't close this on my own, please close it for me. I was not applying the theme to my app's child windows. They were getting the default template instead. ", "updateAuthor": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "created": "2016-01-08T14:41:24.000+0000", "updated": "2016-01-08T14:41:24.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }