[TIMOB-10028] Android: Cannot set 'tabs' property on a tabgroup
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2012-11-01T18:10:44.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | n/a |
Components | Android |
Labels | api, parity |
Reporter | Stephen Tramer |
Assignee | Opie Cyrus |
Created | 2012-07-18T16:04:29.000+0000 |
Updated | 2017-03-22T22:26:41.000+0000 |
Description
Android does not allow adding tabs to a tabgroup via setting the "tabs" property directly (at least during creation) - note that iOS does allow this, and so this is a parity issue.
var tab1 = Ti.UI.createTab({
window:Ti.UI.createWindow(),
title:'win1'
});
var tab2 = Ti.UI.createTab({
window:Ti.UI.createWindow(),
title:"win2"
});
var tabgrp = Ti.UI.createTabGroup({
tabs:[tab1, tab2]
})
tabgrp.open();
Dup of TIMOB-11434
Closing ticket as duplicate and links to the related ticket have been provided above.