There is no "Google Search Widget" in Android. If you want the Quick Search Box, you do not add it to an activity, but rather integrate with Android's search framework:
http://developer.android.com/guide/topics/search/search-dialog.html On Tue, Dec 7, 2010 at 9:16 PM, argon gold <argongol...@gmail.com> wrote: > Hi, > > How will I add Google Search Widget in my Activity either by XML file or > through Java code ( or any other Pre-Built widget). > Suppose I have a simple activity which display a Linear Layout with Google > Search Widget in it on screen. > > Thanks in advance for your help > > Regards, > argongold > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en