{ "id": "170787", "key": "TIMOB-25668", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-05-01T17:15:03.000+0000", "created": "2018-01-13T15:18:44.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "demo_app", "hinttext" ], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-06-11T14:19:11.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": "*Problem:*\r\nThe {{Ti.UI.Android.SearchView}} has no property to change the {{hintTextColor}}. In a light theme the color is always white and you can't see the hintText.\r\n\r\n*Solution:*\r\nAdd {{hintTextColor}} as a property. Since it is Android-only no parity is needed.\r\n\r\n*Example*\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n\tfullscreen: false,\r\n\ttheme: \"Theme.AppCompat.Light\"\r\n});\r\n\r\n// Use action bar search view\r\nvar search = Ti.UI.Android.createSearchView({\r\n\thintText: \"Table Search\",\r\n\tcolor: \"#000\",\r\n\thintTextColor: \"#999\",\r\n iconifiedByDefault: false\r\n});\r\n\r\nvar data = [];\r\ndata.push(Ti.UI.createTableViewRow({\r\n\ttitle: 'Apple'\r\n}));\r\ndata.push(Ti.UI.createTableViewRow({\r\n\ttitle: 'Banana'\r\n}));\r\ndata.push(Ti.UI.createTableViewRow({\r\n\ttitle: 'Orange'\r\n}));\r\ndata.push(Ti.UI.createTableViewRow({\r\n\ttitle: 'Raspberry'\r\n}));\r\n\r\nvar tableview = Titanium.UI.createTableView({\r\n\tdata: data,\r\n\tsearch: search\r\n});\r\n\r\nwin.add(tableview);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: HintTextColor for SearchView", "creator": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 1028, "state": "closed", "name": "2018 Sprint 09 SDK", "startDate": "2018-04-22T22:53:08.928Z", "endDate": "2018-05-06T22:53:00.000Z", "completeDate": "2018-05-07T00:02:15.883Z", "originBoardId": 114 }, { "id": 1018, "state": "closed", "name": "2018 Sprint 07 SDK", "startDate": "2018-03-25T21:59:36.637Z", "endDate": "2018-04-08T21:59:00.000Z", "completeDate": "2018-04-08T17:55:14.467Z", "originBoardId": 114 }, { "id": 1021, "state": "closed", "name": "2018 Sprint 08 SDK", "startDate": "2018-04-08T17:57:36.122Z", "endDate": "2018-04-22T17:57:00.000Z", "completeDate": "2018-04-22T22:51:19.120Z", "originBoardId": 114 }, { "id": 1008, "state": "closed", "name": "2018 Sprint 06 SDK", "startDate": "2018-03-11T22:18:04.396Z", "endDate": "2018-03-25T22:18:00.000Z", "completeDate": "2018-03-25T21:52:36.683Z", "originBoardId": 216 } ], "comment": { "comments": [ { "id": "433119", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/9729", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-01-13T15:20:14.000+0000", "updated": "2018-01-13T15:20:14.000+0000" }, { "id": "433220", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed waiting for the PR to be merged. https://github.com/appcelerator/titanium_mobile/pull/9729", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-17T01:59:32.000+0000", "updated": "2018-01-17T01:59:32.000+0000" }, { "id": "438282", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket. Improvement can be seen in SDK Version: 7.3.0.v20180607210411\r\n\r\nTest and other information can be found at: \r\nhttps://github.com/appcelerator/titanium_mobile/pull/9729", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-06-11T14:18:54.000+0000", "updated": "2018-06-11T14:18:54.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }