{ "id": "174901", "key": "TIMOB-27840", "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": [], "resolution": null, "resolutiondate": null, "created": "2020-04-11T00:56:19.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "date", "parity", "picker", "time" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-04-11T01:00:15.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Summary:*\r\nThe {{Ti.UI.Picker}} type {{PICKER_TYPE_DATE_AND_TIME}} is currently an iOS only feature.\r\nhttps://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Picker-property-type\r\n\r\nWe should add support to Android for parity with iOS.\r\n\r\n*Note:*\r\nAndroid does natively support a date-only and time-only pickers. Just not both.\r\n* {{PICKER_TYPE_DATE}}\r\n* {{PICKER_TYPE_TIME}}\r\n\r\n*Recommended Solution:*\r\nUse a horizontal layout to contain to clickable labels. The left-aligned label will display the date and the right-aligned label will display the time. When tapping on them, their respective native date or time dialog will appear.\r\n{{[ [DateLabel] [TimeLabel] ]}}\r\n\r\nThis is how Google's Calendar app displays date/time fields when you under the \"Add Event\" window as can be seen below.\r\n !Android-DateTimeField.png|thumbnail! !Android-DateDialog.png|thumbnail! !Android-TimeDialog.png|thumbnail! \r\n\r\n", "attachment": [ { "id": "67331", "filename": "Android-DateDialog.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-11T00:55:59.000+0000", "size": 174574, "mimeType": "image/png" }, { "id": "67333", "filename": "Android-DateTimeField.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-11T01:00:15.000+0000", "size": 174006, "mimeType": "image/png" }, { "id": "67330", "filename": "Android-TimeDialog.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-11T00:56:02.000+0000", "size": 176222, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Add \"Ti.UI.PICKER_TYPE_DATE_AND_TIME\" support", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }