{ "id": "82604", "key": "TIMOB-6144", "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": [ { "id": "15707", "description": "2013 Sprint 23", "name": "2013 Sprint 23", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "id": "15708", "description": "2013 Sprint 23 API", "name": "2013 Sprint 23 API", "archived": true, "released": true, "releaseDate": "2013-11-15" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-11-06T09:45:55.000+0000", "created": "2011-11-10T13:24:57.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "tbs-1.9.0" ], "versions": [ { "id": "12085", "description": "Mobile @ HQ", "name": "Sprint 2011-45", "archived": true, "released": true, "releaseDate": "2011-11-14" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "25717", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "95103", "key": "TIMOB-9962", "fields": { "summary": "Android: Tab icon property change not updating icon image shown in tab", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-27T18:30:03.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": "h3.Feature Request\r\n\r\nAbility to change the title on Tabs from TabGroup. It can be done natively.\r\n\r\nSome native code that points out that this is both possible and simple:\r\n{code}\r\n((TextView)mTabHost.getTabWidget().getChildAt(0).findViewById(android.R.id.title)).setText(\"New\");\r\n{code}\r\nExplanation: We grab the object of the TabGroup widget then we point that we need the first child (first tab starting from the left). Next step using this part of code: findViewById(android.R.id.title)) we find the text label (that refers to the Tab). It give us the ability to operate on it like with normal Label. We can change the text using the setText method.\r\n\r\nh3.Associated HelpDesk Ticket\r\nhttp://appc.me/c/APP-796146", "attachment": [], "flagged": false, "summary": "Android: Ability change the Tab titles dynamically", "creator": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 2.3.3, Simulator", "comment": { "comments": [ { "id": "174845", "author": { "name": "joelhulen", "key": "joelhulen", "displayName": "Joel Hulen", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I would like to draw attention to this issue as it affects me greatly with how I am trying to dynamically change the labels of the native tabGroup on Android devices after they have been set. Please provide some sort of timeline or resolution plan for this. As you can see in the feature request, the appropriate code has already been provided. If you need help testing this, I'd be more than willing to be one of the testers.\r\n\r\nThanks for your attention to this matter.\r\nJoel", "updateAuthor": { "name": "joelhulen", "key": "joelhulen", "displayName": "Joel Hulen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-05T09:36:06.000+0000", "updated": "2011-12-05T09:36:06.000+0000" }, { "id": "174848", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The fix is not simply that line of code. Also, we cannot accept the code attached to JIRA as a contributor license agreement must be signed by anyone contributing code. There are procedures in the wiki for submitting pull requests.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-05T09:55:35.000+0000", "updated": "2011-12-05T09:55:35.000+0000" }, { "id": "174949", "author": { "name": "dit", "key": "dit", "displayName": "dit k", "active": true, "timeZone": "America/Los_Angeles" }, "body": "OK so what is your suggestion, is there any workarounds? If User changes the Language he have to restart the App? ehmm... Changing the Label of a widget is a simple and natural feature. I hope it will be fixed, the Message \"Please restart your App\" is very unprofessional.", "updateAuthor": { "name": "dit", "key": "dit", "displayName": "dit k", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-05T16:22:23.000+0000", "updated": "2011-12-05T16:22:23.000+0000" }, { "id": "278399", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "testcase\n{code}\n var win1 = Ti.UI.createWindow({\n title: 'Win 1'\n});\n \nvar tab1 = Ti.UI.createTab({ \n title: 'PRODUCTS',\n window: win1\n});\n var btn = Ti.UI.createButton({title: \"chane title\", top: 20,left : 30});\n btn.addEventListener('click', function(e) {\n tab1.title = \"change title\";\n tab2.title = \"change title tab2\";\n });\n win1.add(btn);\nvar win2 = Ti.UI.createWindow({\n title: 'Win 2'\n});\n \nvar tab2 = Ti.UI.createTab({ \n title: 'List SUMMARY',\n window: win2\n});\n \nvar tabGroup = Ti.UI.createTabGroup({\n title: 'Group Test' \n \n});\n \ntabGroup.addTab(tab1);\ntabGroup.addTab(tab2);\n \ntabGroup.open();\n{code}", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-11-06T09:39:17.000+0000", "updated": "2013-11-06T09:39:17.000+0000" }, { "id": "278401", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Cant reproduce this issue .", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-11-06T09:45:55.000+0000", "updated": "2013-11-06T09:45:55.000+0000" }, { "id": "415903", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as I am unable to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nMacOS 10.11.6 (15G31)\r\nStudio 4.8.1.201612050850\r\nTi SDK 6.0.3 GA\r\nAppc NPM 4.2.8\r\nAppc CLI 6.1.0\r\nTi CLI 5.0.11\r\nAlloy 1.9.5\r\nArrow 1.10.1\r\nXcode 8.2 (8C38)\r\nNode v4.6.0\r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-27T18:30:03.000+0000", "updated": "2017-03-27T18:30:03.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }