mancj / mancj/MaterialSearchBar
Search icon or return key will open google app
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2k
- Forks
- 324
- PR merge metrics
- No merged PRs in 30d
Description
After typing required query, we have mainly two options to execute search query. We can choose from one of the suggestions displayed or we can click on the Search (Magnifier) button on soft keyboard.
In my case, after clicking on Search button on soft keyboard, instead of executing search, the query gets transferred to Google app and results are shown there. Clicking on one of the suggestion works fine.
I tried to implement `editText.setOnEditorActionListener(new TextView.OnEditorActionListener()` with `materialSearchBar ` but materialSearchBar doesn't have that listener.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting materialSearchBar and the TextView editor-action behavior described in the issue, focusing on how the soft-keyboard Search action is handled. Reproduce the problem with a required query; done means pressing the keyboard Search key executes the search in the MaterialSearchBar instead of opening Google, while selecting a suggestion continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100