{"action":"created","issue":{"url":"https://api.github.com/repos/RobotiumTech/robotium/issues/261","labels_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/261/comments","events_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/261/events","html_url":"https://github.com/RobotiumTech/robotium/issues/261","id":101943121,"number":261,"title":"searchText issue with big layouts","user":{"login":"renas","id":165541,"avatar_url":"https://avatars.githubusercontent.com/u/165541?v=3","gravatar_id":"","url":"https://api.github.com/users/renas","html_url":"https://github.com/renas","followers_url":"https://api.github.com/users/renas/followers","following_url":"https://api.github.com/users/renas/following{/other_user}","gists_url":"https://api.github.com/users/renas/gists{/gist_id}","starred_url":"https://api.github.com/users/renas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renas/subscriptions","organizations_url":"https://api.github.com/users/renas/orgs","repos_url":"https://api.github.com/users/renas/repos","events_url":"https://api.github.com/users/renas/events{/privacy}","received_events_url":"https://api.github.com/users/renas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/bug","name":"bug","color":"FFFFFF"},{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/invalid","name":"invalid","color":"FFFFFF"},{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-19T16:41:11Z","updated_at":"2015-08-19T16:41:30Z","closed_at":null,"body":"_From [amarkov...@gmail.com](https://code.google.com/u/116672712302688900879/) on November 15, 2011 07:01:36_\n\nWhat steps will reproduce the problem? 1.Have a big layout with textviews inside and put in in a scrollview\r\n2.Search for a text that is visibile only if you scroll down the layout What is the expected output? What do you see instead? Expected: true, Get: false What version of the product are you using? On what operating system? 3.0 (same problem on 2.5). Android 2.3 - Desire HD Please provide any additional information below. This is especialy strange since if i search for texts visible only if scroll right it works (because the isViewSufficientlyShown method from ViewFetcher check only that the view to be visible on the Y-axis)\r\nI checked the code and it seems that the searchFor method from the Searcher use the getCurrentViews method from the ViewFetcher (which returns only visible views). I think it should use the getAllViews(false) method since the non visible views should be removed only if the onlyVisible flag is true (wich is done anyway by: RobotiumUtils.removeInvisibleViews)\n\n_Original issue: http://code.google.com/p/robotium/issues/detail?id=182_"},"comment":{"url":"https://api.github.com/repos/RobotiumTech/robotium/issues/comments/132689577","html_url":"https://github.com/RobotiumTech/robotium/issues/261#issuecomment-132689577","issue_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/261","id":132689577,"user":{"login":"renas","id":165541,"avatar_url":"https://avatars.githubusercontent.com/u/165541?v=3","gravatar_id":"","url":"https://api.github.com/users/renas","html_url":"https://github.com/renas","followers_url":"https://api.github.com/users/renas/followers","following_url":"https://api.github.com/users/renas/following{/other_user}","gists_url":"https://api.github.com/users/renas/gists{/gist_id}","starred_url":"https://api.github.com/users/renas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renas/subscriptions","organizations_url":"https://api.github.com/users/renas/orgs","repos_url":"https://api.github.com/users/renas/repos","events_url":"https://api.github.com/users/renas/events{/privacy}","received_events_url":"https://api.github.com/users/renas/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T16:41:30Z","updated_at":"2015-08-19T16:41:30Z","body":"_From [renasr...@gmail.com](https://code.google.com/u/108052454046732184536/) on November 15, 2011 07:32:03_\n\nThe problem here is that scrollDown() only checks if your using a scroll view or a list view (also extending them with custom views). That is why it does not scroll as it only finds a framelayout. Right now there is no plan to change that behaviour as it would be hard to determine when a framelayout can scroll or not. \r\n\r\nThe best thing would be if you can change your custom view so that it extends a scroll view and then add the changes needed in your custom scroll view instead.\n\n**Status:** Invalid  \n  **Owner:** renasr...@gmail.com  \n"}}