{ "id": "136107", "key": "AC-1493", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2015-09-15T07:24:25.000+0000", "created": "2014-09-04T17:24:00.000+0000", "labels": [ "android", "api" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:56.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I have added tabgroup to the main window. Am using a custom theme from Action style generator. The tabs look file when in Portrait mode but when in landscape mode all the tabs are shuffled to the left. ", "attachment": [ { "id": "50983", "filename": "landscape.PNG", "author": { "name": "msuman49", "key": "msuman49", "displayName": "Sai Suman Mallela", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-04T17:24:00.000+0000", "size": 1214552, "mimeType": "image/png" } ], "flagged": false, "summary": "ActionBar Tabs not filling the full platform width in Landscope mode (Android 3.3)", "creator": { "name": "msuman49", "key": "msuman49", "displayName": "Sai Suman Mallela", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "msuman49", "key": "msuman49", "displayName": "Sai Suman Mallela", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 3.3", "comment": { "comments": [ { "id": "361676", "author": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Tabs in landscape mode is working fine, filling the full platform width. I have tested with SDK 4.1.0.GA \r\n\r\nEnvironment\r\n\r\nCLI 4.1.2\r\nSDK 4.1.0.GA\r\nAndroid 5.1.0.0, 4.4.2\r\n\r\n{code}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n// create tab group\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n\r\n\r\n//\r\n// create base UI tab and root window\r\n//\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png',\r\n title:'Tab 1',\r\n window:win1\r\n});\r\n\r\nvar label1 = Titanium.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'I am Window 1',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\r\nwin1.add(label1);\r\n\r\n//\r\n// create controls tab and root window\r\n//\r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Tab 2',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab2 = Titanium.UI.createTab({ \r\n icon:'KS_nav_ui.png',\r\n title:'Tab 2',\r\n window:win2\r\n});\r\n\r\nvar label2 = Titanium.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'I am Window 2',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\r\nwin2.add(label2);\r\n\r\n\r\nvar win3 = Titanium.UI.createWindow({ \r\n title:'Tab 3',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab3 = Titanium.UI.createTab({ \r\n icon:'KS_nav_ui.png',\r\n title:'Tab 3',\r\n window:win3\r\n});\r\n\r\nvar label3 = Titanium.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'I am Window 3',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\r\nwin3.add(label3);\r\n\r\n\r\nvar win4 = Titanium.UI.createWindow({ \r\n title:'Tab 4',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab4 = Titanium.UI.createTab({ \r\n icon:'KS_nav_ui.png',\r\n title:'Tab 4',\r\n window:win4\r\n});\r\n\r\nvar label4 = Titanium.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'I am Window 4',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\r\nwin4.add(label4);\r\n\r\n\r\n\r\n\r\n//\r\n// add tabs\r\n//\r\ntabGroup.addTab(tab1); \r\ntabGroup.addTab(tab2); \r\ntabGroup.addTab(tab3); \r\ntabGroup.addTab(tab4); \r\n\r\n\r\n// open tab group\r\ntabGroup.open();\r\n\r\n{code}\r\n\r\nThis is not a bug in Appcelerator platform.\r\n", "updateAuthor": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-08-30T09:54:12.000+0000", "updated": "2015-08-30T09:54:12.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }