{ "id": "86767", "key": "TIMOB-7739", "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": "15699", "description": "2013 Sprint 21", "name": "2013 Sprint 21", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "15700", "description": "2013 Sprint 21 API", "name": "2013 Sprint 21 API", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-18T20:57:24.000+0000", "created": "2012-02-21T15:53:16.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_searchbar", "parity", "qe-manualtest" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-08-08T18:16:26.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": "When creating a search bar, if you specify the 'barColor', 'prompt', or 'backgroundImage' properties, they appear to be ignored.\r\n", "attachment": [], "flagged": false, "summary": "Android: SearchBar barColor, prompt, backgroundImage, properties ignored", "creator": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "240913", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The problem reproduces with release 3.0.2 and master release 3.1.0\n\ntested on\n\nTitanium Studio, build: 3.0.2.201302191606\nTitanium SDK version: 3.1.0 \nTitanium SDK version: 3.0.2 \nDevice: Samsung galaxy s duos Android version: 4.0.4\nAndroid Emulator: Android SDK version: 2.2", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-06T07:38:45.000+0000", "updated": "2013-03-06T07:38:45.000+0000" }, { "id": "259145", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Add properties \r\nhttps://github.com/appcelerator/titanium_mobile/pull/4409", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-06-24T11:00:11.000+0000", "updated": "2013-06-24T11:00:11.000+0000" }, { "id": "265530", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": " Test case for setting barColor and prompt:\r\n________________________________________________\r\n\r\nvar win = Ti.UI.createWindow({\r\n title:'searchbar with barcolor',\r\n backgroundColor:'#fff'\r\n});\r\n \r\n var searchbar = Ti.UI.createSearchBar({\r\n top : 0,\r\n showCancel: true,\r\n barColor:'#00f', \r\n prompt : 'prompt text',\r\n height : 100,\r\n hintText: \"This is the hint text\",\r\n});\r\n\r\n var btn = Ti.UI.createButton({\r\n \ttop : 200 , left : 10 ,\r\n title : 'click to set image',\r\n height : 100,\r\n \r\n});\r\nbtn.addEventListener('click', function() {\r\n searchbar.backgroundImage = 'KS_nav_ui.png';\r\n});\r\n win.add(searchbar);\r\n win.add(btn);\r\n win.open(); \r\n\r\n Test case for setting backgroundImage and prompt:\r\n________________________________________________\r\n\r\nvar win = Ti.UI.createWindow({\r\n title:'searchbar with backgroundImage',\r\n backgroundColor:'#fff'\r\n});\r\n var searchbar = Ti.UI.createSearchBar({\r\n top : 0,\r\n showCancel: true,\r\n backgroundImage : 'KS_nav_ui.png',\r\n\r\n prompt : 'prompt text',\r\n height : 100,\r\n hintText: \"This is the hint text\",\r\n});\r\n win.add(searchbar);\r\n win.open();\r\n", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-08-08T06:30:11.000+0000", "updated": "2013-08-08T06:50:06.000+0000" }, { "id": "270733", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "NEW PR:-\nhttps://github.com/appcelerator/titanium_mobile/pull/4675", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-09-11T06:05:21.000+0000", "updated": "2013-09-11T06:05:21.000+0000" }, { "id": "275731", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "CR + FR", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-18T20:57:24.000+0000", "updated": "2013-10-18T20:57:24.000+0000" }, { "id": "276488", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. The mentioned properties are respected.\r\nThus closing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.2.0.201310230601\r\nTi SDK : 3.2.0.v20131022171645\r\nMac OSX : 10.8.5\r\nCLI - 3.2.0 with hash 72f7426b4ee6c2d2883c666d5b7e03906a16012f\r\nAndroid emulator 4.0.4", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-23T22:57:41.000+0000", "updated": "2013-10-23T22:57:41.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }