Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28271

Android: The searchBar border not shown in tableview/listview

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 9.3.0
    • Fix Version/s: Release 9.3.0
    • Component/s: Android
    • Labels:
    • Environment:

      Mac OS: 10.15.4
      SDK: 9.3.0.v20201125050632
      Appc CLI: 8.1.1
      JDK: 11.0.6
      Node: 12.16.1
      Studio: 6.0.0.202005141803
      Device: Pixel 3 XL(v11.0) emulator

    • Story Points:
      3

      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();
      
      

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              ssekhri Satyam Sekhri
              Reviewer:
              Joshua Quick
              Tester:
              Satyam Sekhri
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration