[TIMOB-28271] Android: The searchBar border not shown in tableview/listview
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Unresolved |
Affected Version/s | Release 9.3.0 |
Fix Version/s | Release 9.3.0 |
Components | Android |
Labels | regression |
Reporter | Satyam Sekhri |
Assignee | Gary Mathews |
Created | 2020-12-03T22:21:10.000+0000 |
Updated | 2020-12-07T15:22:03.000+0000 |
Description
The border is not shown for a search bar on a listview/tableview.
This is a regression in 9.3.0.
Steps:
1. Create a classic app using the app.js code below
2. Build to an android device/emulator
Actual Result: The border of the search bar is not shown and hence none of the border properties defined in the code are visible.
Expected Result: The search bar border should be visible.
var _window = Ti.UI.createWindow({});
var data = [];
data[0] = Ti.UI.createTableViewRow({
hasChild : true,
title : 'Row 1'
});
data[1] = Ti.UI.createTableViewRow({
hasDetail : true,
title : 'Row 2'
});
data[2] = Ti.UI.createTableViewRow({
hasCheck : true,
title : 'Row 3'
});
data[3] = Ti.UI.createTableViewRow({
title : 'Row 4'
});
var search = Titanium.UI.createSearchBar({
borderRadius : 10,
borderColor : 'red',
borderWidth : 20,
showCancel : true,
height : 160,
});
// create table view
var tableview = Titanium.UI.createTableView({
data : data,
top : 40,
search : search,
filterAttribute : "title",
});
_window.add(tableview);
_window.open();
master: https://github.com/appcelerator/titanium_mobile/pull/12315
FR Passed. Waiting for Jenkins build.