[TIMOB-19746] Android Set the tab width on a tabgroup
GitHub Issue | n/a |
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2016-01-19T22:11:57.000+0000 |
Affected Version/s | Release 5.0.1, Release 5.0.2, Release 5.0.0 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Ricardo Ramirez |
Assignee | Hieu Pham |
Created | 2015-10-20T04:22:57.000+0000 |
Updated | 2016-01-19T22:12:21.000+0000 |
Description
Issue Description
When I build the code, we are seeing scroll able tap group and only 3 tabs are visible . We want all 5 tabs displayed always like before with 3.5.1.GA.
Actually the width on the tabs is automatic, create a width property to the Ti.UI.Tab should enough to solve this issue.
**Attached Images
Steps to reproduce
-Download the sample attached
-Build and run Using SDK 5.0.2 in Android 4.X and 5.X
-The tabs are scrollable
Attachments
From the comments in flow: "This is native behavior. When there are not enough room for tabs, Android automatically re-layouts the tab bar."
As Ingo said, this behavior is expected. Even if you can set the tab width, and your tab title exceeds that width, you wouldn't be able to see it all anyways. Closing as won't fix.
Ok, thanks [~msamah].
Closing in accordance to the resolution the ticket.