Skip to content Skip to sidebar Skip to footer

Cannot Use A Tablelayout Within A Widget?

Here is the xml file of my Android widget: http://pastebin.com/Kqxs5t9E This code is showing me some good results in Eclipse, but as soon as I sent the file to my device and try to

Solution 1:

I cannot use a Tablelayout within a widget????

If by "widget" you mean "app widget", then, no, you cannot use a TableLayout in an app widget. There are only a few widgets that can be used in an app widget.

I can create a lot of relativelayout but I guess that's not a good idea.

I do not know why you think RelativeLayout is bad. You may be able to replace your LinearLayout, TableLayout, and TableRow widgets with a single RelativeLayout.

Post a Comment for "Cannot Use A Tablelayout Within A Widget?"