[TIMOB-2557] Android: tableView properties headerTitle and footerTitle do not display
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-18T23:08:42.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M07 |
Components | Android |
Labels | android, defect, release-1.6.0, tableview |
Reporter | Paul Dowsett |
Assignee | Don Thorp |
Created | 2011-04-15T03:22:39.000+0000 |
Updated | 2011-04-18T23:08:42.000+0000 |
Description
Environment: android 2.2, TiDev 1.2.1. Tested using 1.4.X (21Nov) & 1.5.X (09Dec)
The following code demonstrates the issue:
var tableData = [
{ title: "Mountain View (North America)\nCloudy" },
{ title: "Washington, DC (North America)\nMostly Cloudy" },
{ title: "Brasilia (South America)\nThunderstorm" },
{ title: "Buenos Aires (South America)\nClear" },
{ title: "Sucre (South America)\nMostly Cloudy" },
{ title: "London (Europe)\nOvercast" },
{ title: "Moscow (Europe)\nPartly Cloudy" },
{ title: "Prague (Europe)\nClear" },
{ title: "St Petersburg (Europe)\nSnow" },
];
var table = Ti.UI.createTableView({
backgroundColor:"white",
data: tableData,
headerTitle:"The Weather App",
footerTitle:"[data and icons supplied by Google Weather API]",
top:10,
width:320
});
var win1 = Titanium.UI.createWindow({
backgroundColor:'#333'
});
win1.add(table);
win1.open();
Screenshot:
http://a.yfrog.com/img375/9876/screenshot036h.png" alt="screenshot">
(from [16efabcec58ea9035cada516795b8ee016ab24aa]) process headerTitle/footerTitle on the table proxy as if it was on the first (implied) section. moved property constants from TableViewProxy to
TiC. [#2557 state:fixed-in-qa]
https://github.com/appcelerator/titanium_mobile/commit/16efabcec58ea9035cada516795b8ee016ab24aa"> https://github.com/appcelerator/titanium_mobile/commit/16efabcec58e...
verified