{ "id": "159573", "key": "AC-3504", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2016-04-26T18:27:25.000+0000", "created": "2016-04-14T10:28:33.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-04-26T18:53:22.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": "With binding the app to a theme I would modify the colors etc. of date picker. But maybe an app has different departments and for every part I need different colors.\r\n\r\nConclusion: We need a theme property in datepicker like we have in window.\r\n\r\n{code}\r\nvar picker = Ti.UI.createPicker({\r\n\ttheme : 'Theme.firstColor',\t\r\n type : Ti.UI.PICKER_TYPE_DATE,\r\n\tminDate : new Date(2009, 0, 1),\r\n\tmaxDate : Moment().toDate(),\r\n\tvalue : parent.date.toDate(),\r\n\tlocale : 'de'\r\n});\r\n{code}", "attachment": [], "flagged": false, "summary": "Theme property for datepicker", "creator": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "382968", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\nThanks for the query. Style of datepicker in Appcelerator can be customized as it can be customized on native android. You have to add the picker in a window and you can add a theme in that window. In that theme you can customize the datepicker item like this:\r\n{code}\r\n@style/datepicker\r\n{code}\r\n*Sample Custom Theme XML*\r\n{code}\r\n\r\n\r\n\t\r\n\t\r\n\r\n{code}\r\nThanks\r\n\r\n", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-04-18T12:00:28.000+0000", "updated": "2016-04-18T12:00:28.000+0000" }, { "id": "382970", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks for quick answer. The picker inherits from parent (window). But I have in window different sections (scrollableView) and depending of view I dream of different colors. Background: we have a couple of radiostations with own colors. Depending of station we looking for different colors. Is it possible to change the theme of windows dynamicly?", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-18T12:08:27.000+0000", "updated": "2016-04-18T12:08:27.000+0000" }, { "id": "383065", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hi [~titanium@webmasterei-hamburg.de],\r\n\r\nYou cannot change the theme of an existing window, so you'd need to close the existing window and reopen it with the newly selected theme as the value for \"theme\" in the params for createWindow().\r\n\r\nIt’s a known fact in Native Android that themes cannot be changed during run time. If the new theme change has to be reflected in the application, all the views have to be re-inflated, as the theme based values are parsed only once during inflation. \r\n\r\nThanks", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-04-19T05:07:44.000+0000", "updated": "2016-04-19T05:07:44.000+0000" }, { "id": "383407", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~titanium@webmasterei-hamburg.de], \r\n\r\nAs you are requesting a new feature, It always better to provide example screenshots of the said feature available in native platform. Please provide example of the feature done in native android.\r\n\r\nRegards,\r\nSharif.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-04-20T19:51:28.000+0000", "updated": "2016-04-20T19:51:28.000+0000" }, { "id": "383973", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "Which native element will called by using of datapicker?", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-26T18:53:22.000+0000", "updated": "2016-04-26T18:53:22.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }