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

iOS7: searchBar backgroundImage appears on top of searchBar Text field

    Details

      Description

      Testing Instruction

      1. Paste the following code in app.js
      NOTE:Change the link of the backgroundImage to a valid path.

      var rootwin = Ti.UI.createWindow({
      	title:'Search',
      	backgroundColor:'white'
      });
      var win = Ti.UI.createWindow({
      	title:'Search',
      	backgroundColor:'white'
      });
       
      var nav = Ti.UI.iPhone.createNavigationGroup({
      	window:win
      });
       
      var search = Titanium.UI.createSearchBar({
      	backgroundImage:'images/chip.jpg',
      	showCancel:true,
      	height:43,
      	top:0
      });
       
      win.setTitleControl(search);
       
      // dynamically set value
      search.value = 'foo';
       
      rootwin.add(nav);
      rootwin.open();
      
      

      2. run code

      Expected Behavior.

      Search Bar should show up with backgroundImage properly shown behind the text field.

      Actual Behavior.

      Search Bar backgroundImage shows on top of text field of search bar.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                srahim Sabil Rahim
                Reviewer:
                Sabil Rahim
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-17533
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration