Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: Release 3.2.0, Release 3.2.1, Release 9.3.0
-
Fix Version/s: 2014 Sprint 07, 2014 Sprint 07 SDK, 2014 Sprint 09, 2014 Sprint 09 SDK, Release 3.3.0, Release 9.3.0
-
Component/s: Android
-
Labels:
-
Environment:
MAC OS X 10.8.5
Appcelerator Studio, build: 3.2.1.201402061120
Titanium SDK: 3.2.1.GA
Titanium CLI: 3.2.1
Android SDK 2.3.3, 4.2.2 and 4.4.2
-
Story Points:0
-
Sprint:2014 Sprint 09 Tooling, 2020 Sprint 23
Description
Problem Description
Undesired tableView separatorColor is appearing in footerView .
When I use footerView for TableViews it is working as expected in below Android 4.4 versions.
But from Above Android 4.4 version we are able to see a separator line which is not required.
Testing Environment:
MAC OS X 10.8.5
Appcelerator Studio, build: 3.2.1.201402061120
Titanium SDK: 3.2.1.GA
Titanium CLI: 3.2.1
Android SDK 2.3.3, 4.2.2 and 4.4.2
Test Code
var win = Ti.UI.createWindow({
|
backgroundColor : 'black',
|
fullscreen : false,
|
title : 'TableView Demo'
|
});
|
|
var defaultFontSize = Ti.Platform.name === 'android' ? 16 : 14;
|
|
var tableData = [];
|
|
for (var i = 1; i <= 5; i++) {
|
var row = Ti.UI.createTableViewRow({
|
className : 'forumEvent', // used to improve table performance
|
selectedBackgroundColor : 'white',
|
rowIndex : i, // custom property, useful for determining the row during events
|
height : 110,
|
title : 'Test '+i
|
});
|
tableData.push(row);
|
}
|
|
var container = Ti.UI.createView({
|
height : 50,
|
width : Ti.UI.FILL
|
});
|
|
var tableView = Ti.UI.createTableView({
|
backgroundColor : 'white',
|
data : tableData,
|
footerView : container,
|
separatorColor : 'black'
|
});
|
|
win.add(tableView);
|
win.open();
|
|
|
Thanks