Yeah, your Activity could even use the transparent theme so it appears
as if its just on top of the wallpaper same as a widget. I believe the
Google Search widget is just a drawable and when clicked it opens a
Search activity and replace that drawable with a EditText at some
point mid-animation into the Search Activity.



On Mar 30, 4:46 pm, Paul Turchenko <[email protected]> wrote:
> Call actyvity when user clicks on your app widget and capture input
> from there
>
> On Mar 26, 7:32 am, And-Rider <[email protected]> wrote:
>
>
>
> > so is there any alternate way to get user input in form of a text from
> > the widget other than using EditText?..
>
> > If i make TextView as editable it shows a keyboard but i am not able
> > to see any inputs from the user.
>
> > On Mar 26, 2:50 am, Paul Turchenko <[email protected]> wrote:
>
> > > Well, google's search widget doesn't show edittext box. You can prove
> > > it by digging into it with hierarchy viewer. For now, you can't have
> > > EditText in app widget (at least for default android's home launcher)
>
> > > On Mar 25, 4:25 pm, And-Rider <[email protected]> wrote:
>
> > > > I want to create a custom widget for my application which should be
> > > > used for doing search internally in my application.But i am not able
> > > > to place an Edit text control inside a widget.While browsing further i
> > > > found that Edittext box was not included for creating custom widgets
>
> > > >http://developer.android.com/intl/de/guide/topics/appwidgets/index.ht...
>
> > > >http://developingandroid.blogspot.com/2009/09/simple-home-screen-widg...
>
> > > > I was surprised to see google's search widget showing an edittext
> > > > box.Is there a way to add an edittext box in a widget...?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to