Questions tagged [search-dialog]

18 questions
9
votes
4 answers

Search Dialog is not called onSearchRequested()

I have been stuck on this for a little while now. I have looked at other answers on SO but they did not help me solve my problem. My problem is that the search dialog is not invoked by onSearchRequested(). I am not able to figure out what is going…
neo108
  • 5,156
  • 3
  • 27
  • 41
7
votes
1 answer

Difference between Search Dialog and Search Widget Android

I want to know the difference between Search Dialog and Search Widget in Android. I know how to implement each of them with code but don't know difference in terms of looks, behaviors etc. Any help would be highly appreciated.
Abdus Sami Khan
  • 267
  • 2
  • 8
  • 20
4
votes
2 answers

How to make Google Play Store App like search action menu and search dialog design

As per new material design update , the Google pay store app action search opens a search dialog thing once tab on search action button. This search interface is different than a default action view provided by android in action…
3
votes
2 answers

Is it possible to pass search context data using the Search Widget (SearchView) only?

According to the official documentation, there are two ways of providing a search interface: using either the search dialog or a SearchView widget. I'd like to pay attention to passing search context data using these two ways. So, the documentation…
3
votes
0 answers

Material Design like Search Dialog

There is new Material Designed Gmail app search: ...after search menu item fired Search Dialog with suggestions accured: I am trying to achieve this according to official android developer guide and now i have this: How could i style my Search…
ADK
  • 513
  • 3
  • 8
  • 22
1
vote
0 answers

Using Full Text Search in Android with RecyclerView

I've been looking up for any answers in various site but none of them answers to my problem. I'm trying to use the fts to do a search from my single database that contains multiple tables that then needs to be displayed into the recyclerview. I'm…
1
vote
1 answer

How to make Search Dialog size of a toolbar

So I learned how to make Search dialog with this tutorial but it doesn't look pretty and I'm looking for proper way to fix it. As you can see search widget doesn't cover fully the toolbar and I think making it shorter by using constant dp values is…
Tomasz Mularczyk
  • 34,501
  • 19
  • 112
  • 166
1
vote
0 answers

How to customize the SearchDialog in android

When SearchDialog is called, it have a white background. There's a way to change the background color, and also remove the up button with the icon near to it? I don't use the SearchView, i use the search dialog because i need it also in android pre…
Bombolo
  • 749
  • 2
  • 8
  • 19
1
vote
1 answer

How implement search dialog on ListView MySql -Android

I'm practising with some tutorials I found on the web, I am communicating with a database for a listing, the unfold in a listview listview adapter as show you various names, I would like to add a search dialog, something like this Example Image but…
Loreln
  • 201
  • 3
  • 14
0
votes
1 answer

How to add Search Dialog to an Android app

Here is my issue. I have a requirement to add a search dialog to an Android app. I have found the way to add a search view component, but not the search dialog. I know from the Android Developers docs that I am supposed to use onSearchRequested() to…
0
votes
1 answer

Search option in toolbar as second line

I have used toolbar for search option but what I am unable to understand is how to get the search menu inside toolbar second line like this below. I have used SearchDialog and done it but it comes like below. [2 but its overlapping like this Do I…
0
votes
2 answers

How to achieve search interface on JSON data in a listview

I am making an Application which parse the JSON data into a listview. I also want to add a search dialog in the toolbar. But i don't know how to achieve this. I had checked the Android Developer document, but i am still stuck. So, any ideas, any…
Vikas Valechha
  • 303
  • 1
  • 5
  • 12
0
votes
0 answers

onSearchRequested() not activating the search dialog

My main activity needs to invoke a search and display search results. The search dialog does not appear when onSearchRequested() is called. I have found similar questions and followed every detail (I think) but apparently I have something else…
Peri Hartman
  • 19,314
  • 18
  • 55
  • 101
0
votes
1 answer

Android search dialog to be visible always

Is it possible to pin the search dialog to be pinned always at the top of the application activity? The problem what I have is, if a user clicks some where else in the activity, say by mistake, the search dialog goes off, and the user has to click…
Cavish
  • 11
  • 1
  • 5
0
votes
1 answer

search dialog not fully visible - android

I have implemented search dialog in my application, the text box is visible at the top and the magnifying icon is visible next to the cursor even though it has complete text box. Ideally magnifying or search icon (default) should have been at the…
Cavish
  • 11
  • 1
  • 5
1
2