{ "id": "151114", "key": "TIMOB-19506", "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": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-09-14T05:11:46.000+0000", "created": "2015-09-11T08:52:59.000+0000", "epic": { "id": 134539, "key": "TIMOB-17487", "name": "Android: Support Android-L Functionality", "summary": "Android: Support Android 5.0 Functionality", "color": { "key": "color_7" }, "done": false }, "priority": { "name": "Medium", "id": "3" }, "labels": [ "android" ], "versions": [], "issuelinks": [ { "id": "49700", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "152873", "key": "TIMOB-19904", "fields": { "summary": "Android: Add theme-property to Ti.UI.View to apply theme to an individual view", "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": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2015-11-10T15:02:34.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": "As you may have noticed Buttons look different on Android 4.x and 5.x. / 6.x\r\nIn order to make the Material Design available on older platforms Titanium should also use the AppCompatButton for a consistent look&feel across these Android versions. This also gives developers the opportunity to create common styles for buttons in a Theme ({{parent=\"Base.TextAppearance.AppCompat.Button\"}}).", "attachment": [], "flagged": false, "summary": "Android: Use AppCompatButton for Ti.UI.Button", "creator": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 485, "state": "closed", "name": "2015 Sprint 19 SDK", "startDate": "2015-09-12T00:30:29.539Z", "endDate": "2015-09-26T00:30:00.000Z", "completeDate": "2015-09-28T02:29:14.458Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "363579", "author": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-09-11T08:54:21.000+0000", "updated": "2015-09-11T08:54:21.000+0000" }, { "id": "363744", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "More info: http://android-developers.blogspot.in/2015/04/android-support-library-221.html\r\n\r\n{quote}The ability to tint widgets automatically when using AppCompat is incredibly helpful in keeping strong branding and consistency throughout your app. This is done automatically when inflating layouts - replacing Button with AppCompatButton, TextView with AppCompatTextView, etc. to ensure that each could support tinting. In this release, those tint aware widgets are now publicly available, allowing you to keep tinting support even if you need to subclass one of the supported widgets.\r\n\r\nThe full list of tint aware widgets at this time is:\r\nAppCompatAutoCompleteTextView\r\nAppCompatButton\r\nAppCompatCheckBox\r\nAppCompatCheckedTextView\r\nAppCompatEditText\r\nAppCompatMultiAutoCompleteTextView\r\nAppCompatRadioButton\r\nAppCompatRatingBar\r\nAppCompatSpinner\r\nAppCompatTextView{quote}", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-09-14T05:01:05.000+0000", "updated": "2015-09-14T05:01:05.000+0000" }, { "id": "363745", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/7166\r\nTest code in app.js:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n title: \"Test\"\r\n});\r\nvar button = Titanium.UI.createButton({\r\n title: 'Hello',\r\n top: 10\r\n});\r\nbutton.addEventListener('click',function(e)\r\n{\r\n Titanium.API.info(\"You clicked the button\");\r\n});\r\nwin.add(button);\r\n \r\nwin.open();\r\n{code} ", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-09-14T05:04:40.000+0000", "updated": "2015-09-14T05:05:19.000+0000" }, { "id": "363746", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR merged.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-09-14T05:17:22.000+0000", "updated": "2015-09-14T05:17:22.000+0000" }, { "id": "366835", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the improvement.\r\nButtons look same in appearance across android 4.X, 5.X & 6.X\r\nVerified by testing on android 4.1.1, 4.4.4, 5.1.1 & 6.0 devices.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.3.1.201509302304\r\nTi SDK : 5.1.0.v20151014101225\r\nTi CLI : 5.0.5\r\nAlloy : 1.7.16\r\nMAC Yosemite : 10.10.5\r\nAppc NPM : 4.2.1-1\r\nAppc CLI : 5.1.0-38\r\nNode: v0.10.37\r\nNexus 6 - Android 6.0\r\nNexus 5 - Android 5.1.1\r\nAndroid Emulator : Android 4.4.4 , 4.1.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-14T21:52:27.000+0000", "updated": "2015-10-14T21:52:45.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }