{ "id": "171746", "key": "TIMOB-26100", "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": "2018-06-06T00:41:26.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "Windows", "buttonbar", "parity" ], "versions": [], "issuelinks": [ { "id": "56576", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "171493", "key": "TIMOB-25954", "fields": { "summary": "Android: Add \"Ti.UI.ButtonBar\" support", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "56577", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "171492", "key": "TIMOB-25953", "fields": { "summary": "Android: Add \"Ti.UI.TabbedBar\" support", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-27T23:06:26.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "*Summary:*\r\nCurrently, Titanium's {{ButtonBar}} is an iOS only feature. We should add support on Android for parity.\r\n\r\nOn iOS, a Titanium {{ButtonBar}} works just like a Titanium {{TabbedBar}}. Only one button/tab can be selected at a time. The only difference is the appearance. On iOS, a {{ButtonBar}} is implemented via {{UISegmentedControl}}.\r\n\r\n*Possible Solutions:*\r\nImplement it as a radio button group. This seems to be the most appropriate solution. And I think this would be the solution on Windows as well.\r\nhttps://developer.android.com/guide/topics/ui/controls/radiobutton\r\n\r\nAlternatively, implement it just like {{TabbedBar}}. Have the Android {{ButtonBar}} proxy derive from the {{TabbedBar}} proxy and have them use the same implementation. Ideally implemented via the Java {{TabLayout}} or {{BottomNavigationView}}.\r\n", "attachment": [], "flagged": false, "summary": "Windows: Add \"Ti.UI.ButtonBar\" support", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 1, "total": 1, "startAt": 0 } } }