{ "id": "173077", "key": "TIMOB-26873", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "2019-03-01T19:22:00.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "OptionDialog", "android", "dialog", "engArch", "material-design", "parity", "style" ], "versions": [], "issuelinks": [ { "id": "58352", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "174978", "key": "TIMOB-27877", "fields": { "summary": "Android: Use BottomSheetDialogFragment for Ti.UI.OptionDialog", "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" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-05-04T15:56:17.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\nOn Android, the {{Ti.UI.OptionDialog}} currently displays a modal dialog at the center of the screen.\r\n !Android-OptionDialog-Default.png|thumbnail! \r\n\r\nWe would also like the ability to display the option dialog as a \"BottomSheet\" dialog based on Google's material design here...\r\nhttps://material.io/design/components/sheets-bottom.html\r\n !Android-OptionDialog-BottomStyle.png|thumbnail! \r\n\r\n*Recommended Solution:*\r\nAdd a creation-only \"style\" property to {{Ti.UI.OptionDialog}}. By default (when not assigned), it would default to the current dialog we have. When the \"style\" property is set to a bottom-sheet constant, then it should use the [BottomSheetDialog|https://developer.android.com/reference/android/support/design/widget/BottomSheetDialog] Android class instead.\r\n\r\n*Note:*\r\nThis feature is currently available via the following module...\r\nhttps://github.com/hansemannn/titanium-android-bottom-sheet\r\n", "attachment": [ { "id": "66214", "filename": "Android-OptionDialog-BottomStyle.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-01T19:25:24.000+0000", "size": 734134, "mimeType": "image/png" }, { "id": "66213", "filename": "Android-OptionDialog-Default.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-01T19:14:41.000+0000", "size": 38674, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Add \"style\" property to \"Ti.UI.OptionDialog\" for bottom-sheet 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 } } }