Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 675
Abdus Sami Khan Avatar asked Jan 24 '13 08:01

Abdus Sami Khan


1 Answers

The search dialog is a UI component that's controlled by the Android system. When activated by the user, the search dialog appears at the top of the activity.

The search widget is an instance of SearchView that you can place anywhere in your layout. By default, the search widget behaves like a standard EditText widget and doesn't do anything, but you can configure it so that the Android system handles all input events, delivers queries to the appropriate activity, and provides search suggestions

like image 123
ketankk Avatar answered Oct 15 '22 19:10

ketankk