[TIMOB-26284] Android: Cannot add child-views to views extending UIFragment
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-10-01T18:27:10.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 7.5.0 |
Components | Android |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Yordan Banev |
Created | 2018-08-04T08:41:30.000+0000 |
Updated | 2018-10-11T10:05:00.000+0000 |
Description
When using Ti.Map to create a map-view, sub-views of the map are not being displayed. This is not the case for iOS. A reproducible test-case can be done by taking the module's example app.js and trying to add a child view to it:
var Map = require('ti.map');
var win = Titanium.UI.createWindow();
var mapview = Map.createView({
});
mapview.add(Ti.UI.createView({
width: 50,
height: 50,
backgroundColor: 'red'
}))
win.add(mapview);
win.open();
FR Passed. Waiting for merge to be enabled.
*Closing ticket* Verified fix in SDK Version
7.5.0.v20181008124804
Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/10245