Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1655] Android: Support Tabs with No Title

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:56:47.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, defect
ReporterDon Thorp
AssigneeDon Thorp
Created2011-04-15T02:58:33.000+0000
Updated2011-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.

Comments

  1. Don Thorp 2011-04-15

    (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...

  2. marco.schierhorn (at gmail) 2011-04-15

    I have just download the build. But now i get a fc, when the app starts and the tab is build.

  3. Don Thorp 2011-04-15

    @marco, what's the stacktrace from the log? I tested against KS with and without titles.

  4. marco.schierhorn (at gmail) 2011-04-15

    @don i have put the log file into pastie : http://pastie.org/1118530">http://pastie.org/1118530

    Here is the function call:

       var tab = Titanium.UI.createTab({
         icon : navBottomContent[navBot].icon_off,
         window : win
       });
       
  5. Thomas Huelbert 2011-04-15

    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

JSON Source