[TIMOB-1272] Android: ImageView does not support children
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2017-06-27T20:16:03.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | n/a |
Components | Android |
Labels | api, parity |
Reporter | Bill Dawson |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T02:48:16.000+0000 |
Updated | 2017-06-27T20:16:03.000+0000 |
Description
Label shows in iPhone, not in Android:
var iv = Ti.UI.createImageView({
top: 0,
width: 100,
left: 0,
height: 200
});
win.add(iv);
var l = Ti.UI.createLabel({
left: 0,
top: 0,
width: 100,
height: 40,
text: 'test'
});
iv.add(l);
Issue Persists. SDK: 1.8.2 githash=59b3a90s, 2.0.0.v20120320000301 Android: V8, Rhino Studio: 2.0.0.201203200828 OS: Snow Leopard Devices Tested: Nexus One 2.2.2, Emulator 2.2, Emulator 2.3.3
Tested on a Samsung Galaxy S2 using TiSDK 2.2.0v20120814103312, issue still reproducible.
I'm having this issue as well on simulator and device with 2.1.1 and 2.2 CI.
I am unable to reproduce this issue with the following environment; Pixel (7.1) Studio 4.9.0.201705302345 Ti SDK 6.1.1.v20170623141152 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131