Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28271] Android: The searchBar border not shown in tableview/listview

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionUnresolved
Affected Version/sRelease 9.3.0
Fix Version/sRelease 9.3.0
ComponentsAndroid
Labelsregression
ReporterSatyam Sekhri
AssigneeGary Mathews
Created2020-12-03T22:21:10.000+0000
Updated2020-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();

Comments

  1. Gary Mathews 2020-12-04

    master: https://github.com/appcelerator/titanium_mobile/pull/12315
  2. Satyam Sekhri 2020-12-04

    FR Passed. Waiting for Jenkins build.

JSON Source