Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26779] Android: Ti.UI.Android.SearchView only icon responds to search

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2019-03-19T18:57:39.000+0000
Affected Version/sRelease 7.5.0
Fix Version/sRelease 8.0.1
ComponentsAndroid
LabelsSearchBar, android, engSchedule, parity
ReporterGary Mathews
AssigneeGary Mathews
Created2019-01-30T00:12:52.000+0000
Updated2019-03-19T18:57:39.000+0000

Description

- Pressing the SearchView bar does not gain focus and ability to search, only the icon responds. *TEST CASE*
const win = Ti.UI.createWindow({ backgroundColor: 'gray' });
const search = Ti.UI.Android.createSearchView();
const table = Titanium.UI.createTableView({
    data: [
        Ti.UI.createTableViewRow({ title:'Apple' }),
        Ti.UI.createTableViewRow({ title:'Banana' }),
        Ti.UI.createTableViewRow({ title:'Orange' }),
        Ti.UI.createTableViewRow({ title:'Raspberry' })
    ],
    search: search,
    searchAsChild: true
});

win.add(table);
win.open();

Comments

  1. Gary Mathews 2019-01-30

    master: https://github.com/appcelerator/titanium_mobile/pull/10656
  2. Gary Mathews 2019-02-27

    8_0_X: https://github.com/appcelerator/titanium_mobile/pull/10732
  3. Samir Mohammed 2019-03-15

    FR Passed. Waiting on Jenkins build.
  4. Keerthi Mahalingam 2019-03-19

    Verified the fix on SDK 8.0.1.v20190318134648 and 8.1.0.v20190319060446. Works fine. closing.
       Operating System
         Name                        = Mac OS X
         Version                     = 10.13.6
         Architecture                = 64bit
         # CPUs                      = 8
         Memory                      = 17179869184
       Node.js
         Node.js Version             = 8.12.0
         npm Version                 = 6.4.1
       Titanium CLI
         CLI Version                 = 5.1.1
       Titanium SDK
       cli  =7.0.10
         SDK Version                 = 8.1.0.v20190319060446 and 8.0.1.v20190318134648
         Device                   = samsung s5 android 6
       Emulator           = pixel android 9
       

JSON Source