Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using a ToggleButton in a widget?

I am building a widget that currently works with buttons. I want to use ToggleButtons instead, so I change the main.xml to reflect that. Then I run the widget on my droid x and it say "Porblem loading widget." I see no errors.

So my question is, can I use ToggleButtons in a widget?

like image 864
dapapes Avatar asked Mar 14 '11 14:03

dapapes


1 Answers

Sorry, but ToggleButton is not an available widget for use in app widgets. You may be able to achieve a similar effect by changing the icon on the face of an ImageButton.

like image 128
CommonsWare Avatar answered Sep 28 '22 19:09

CommonsWare