[TIMOB-1225] horizontal layout doesn't work in Android
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:55:35.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M05 |
Components | Android |
Labels | android, enterprise, feature, horizontal_layout, layout, release-1.6.0, rplist |
Reporter | Ralf Pfeiffer |
Assignee | Don Thorp |
Created | 2011-04-15T02:47:03.000+0000 |
Updated | 2011-04-17T01:55:35.000+0000 |
Description
Horizontal layout doesn't work on Android. It is very difficult to put labels next to each other without horizontal layout.
For the following code the two labels are right on top of each
other in the center of the view.
var view= Ti.UI.createView({ width: 'auto', layout: 'horizontal' });
view.add(Ti.UI.createLabel({ text: 'foo' }));
view.add(Ti.UI.createLabel({ text: 'bar' }));
Comments
- Metal3d 2011-04-15
Same here, SDK: 1.3.1
- Bill Dawson 2011-04-15
(from [eeb550cf35e394507476d890042b771f9f2f3b12]) [#1225] First push for horizontal layout support in android https://github.com/appcelerator/titanium_mobile/commit/eeb550cf35e394507476d890042b771f9f2f3b12"> https://github.com/appcelerator/titanium_mobile/commit/eeb550cf35e3...
- Bill Dawson 2011-04-15
(from [1ef086793961881e31b5de3e0c99a20923d0296b]) [#1225 state:fixed-in-qa] support wrapping in horizontal layout https://github.com/appcelerator/titanium_mobile/commit/1ef086793961881e31b5de3e0c99a20923d0296b"> https://github.com/appcelerator/titanium_mobile/commit/1ef086793961...
- Bill Dawson 2011-04-15
QA: test is KS Horiz Layout. On a standard HVGA screen (width 320) in portrait mode, the third label should wrap to the far left. (I believe it does this in iOS)
- Don Thorp 2011-04-15
Verified on G1/1.6 and Nexus One/2.2.1 using build #e1cb22a