Feature Request
Ability to change the title on Tabs from TabGroup. It can be done natively.
Some native code that points out that this is both possible and simple:
((TextView)mTabHost.getTabWidget().getChildAt(0).findViewById(android.R.id.title)).setText("New");
Explanation: 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.
Associated HelpDesk Ticket
http://appc.me/c/APP-796146
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. Thanks for your attention to this matter. Joel
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.
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.
testcase
Cant reproduce this issue .
Closing ticket as I am unable to reproduce this issue with the following environment; Pixel (7.1) MacOS 10.11.6 (15G31) Studio 4.8.1.201612050850 Ti SDK 6.0.3 GA Appc NPM 4.2.8 Appc CLI 6.1.0 Ti CLI 5.0.11 Alloy 1.9.5 Arrow 1.10.1 Xcode 8.2 (8C38) Node v4.6.0 Java 1.7.0_80