Hi Jeff,
I've tried the two options you mentioned below for disabling a
button on a widget, but although they can have the appearance of a
disabled button from the image, the button is still in an enabled
state and does not have the standard Android appearance of a disabled
button. I looked
Is it possible to disable a button on a Cupcake desktop widget?
Not directly, but you could send a widget update that swaps out the
drawable used and clears the PendingIntent. Or, keep two buttons in
your layout, and visible/gone them as needed.
The current Google Search widget disables the
I suspected as much with the Google Search widget. Thanks for
clarifying. And the results of the grep for @RemotableViewMethod
annotation are very useful.
Great responses to every question! Thanks Jeff!
On Jun 16, 3:25 pm, Jeff Sharkey jshar...@android.com wrote:
Is it possible to disable
3 matches
Mail list logo