[TIMOB-16185] Android: ImageView: Image is not getting displayed inside table row
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-10-10T17:43:31.000+0000 |
Affected Version/s | Release 3.2.1 |
Fix Version/s | Release 4.0.0 |
Components | Android |
Labels | ImageView, parity, qe-manualtest |
Reporter | Paras Mishra |
Assignee | Sunila |
Created | 2014-01-14T11:50:37.000+0000 |
Updated | 2015-02-05T08:14:05.000+0000 |
Description
Android: ImageView: Image is not getting displayed inside table row
It is reproducible on SDK 3.2.0.GA as well. It works fine on iOS platform.
Steps to reproduce:
1. Run the below app
var _window = Ti.UI.createWindow({
backgroundColor: '#fff'
});
var table = Ti.UI.createTableView();
for (var i = 0; i < 10; i++) {
var row = Ti.UI.createTableViewRow({
height:'110',
borderColor:'red',
borderWidth: 5
});
row.add(Ti.UI.createImageView({
image:'http://devlup.com/wp-content/uploads/2011/08/appcelerator.png',
//image:'KS_nav_ui.png',
height:'100dp',
width:'100dp'
}));
table.appendRow(row);
}
_window.add(table);
_window.open();
Expected:
Should see a tableView rows with Appcelerator logo in each row. Should be able to scroll up and down without crash
Actual:
Image is not getting displayed.
The issue cannot reproduce with the release master 3.2.0 Tested with: Titanium Studio, build: 2.1.2.201208301612 Titanium SDK version: 3.2.0 Tested on Device: Samsung galaxy s duos Android version: 4.0.4
Issue reproduces Titanium Studio, build: 3.3.0.201407100905 Titanium SDK version 3.3.0.GA CLI version 3.3.0, device: HTC Desire X (HT35XLY01791) Targeting Android SDK: 20
3.4.0 is moved forward, and 3.5.0 is taking its place in the calendar.
If the cached content is 'gzip', wrap the stream with GZipInputStream to properly unzip the content. https://github.com/appcelerator/titanium_mobile/pull/5985
Verified with below Test Environment: 1. Mac OSX Yosemite 10.10 2. Appcelerator Studio, build: 4.0.0.201502031850 3. Titanium SDK, build: 4.0.0.v20150204144049 4. Titanium CLI, build: 3.4.1 5. Alloy: 1.5.1 6. Xcode 6.1 7. iOS SDK 8.1 8. S Galaxy S5 with Android 4.4.2 Images are displayed inside all the table Rows as expected. Hence closing this ticket.