[TIMOB-1655] Android: Support Tabs with No Title
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:56:47.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.5.0 |
| Components | Android |
| Labels | android, defect |
| Reporter | Don Thorp |
| Assignee | Don Thorp |
| Created | 2011-04-15T02:58:33.000+0000 |
| Updated | 2011-04-17T01:56:47.000+0000 |
Description
See http://developer.appcelerator.com/helpdesk/view/38661">Helpdesk
38661. Title is being used as the tag on the
TabSpec. If title is non-existant or null, use URL of the icon as
the tag. If that fails use toString() of the TabProxy.
(from [e7974118dbbf91baa44136f7f865e337cc064aeb]) [#1655 state:fixed-in-qa] Added support for tabs without titles. If a tab doesn't have a title it's icon url must be unique with in the tabgroup just like title must be unique unless it's null. Tested by removing title property from KitchenSink main tabs. http://github.com/appcelerator/titanium_mobile/commit/e7974118dbbf91baa44136f7f865e337cc064aeb"> http://github.com/appcelerator/titanium_mobile/commit/e7974118dbbf9...
I have just download the build. But now i get a fc, when the app starts and the tab is build.
@marco, what's the stacktrace from the log? I tested against KS with and without titles.
@don i have put the log file into pastie : http://pastie.org/1118530">http://pastie.org/1118530
Here is the function call:
confirmed on iOS and android, simulator and device.
As noted, to use tabs without title, either:
a.use tag: but do not use icon: or title:
b.use unique names for the icon property within the tab group