简体   繁体   中英

Android: How to add a dynamic table layout to the widget?

i have a initial layout loaded properly.

now that i want to add contents to the widget. they are retrieved from a webservice.

hence i am using table layout which i created in updateService method inside appwidget provider.

how to add this table layout into the widget? remoteview did not help :(

Duplicate issue cannot use a Tablelayout within a widget?

Table Layout inside a 'Widget' isn't possible. 'RelativeLayout' is the way to go.

App Widget can only use a limited set of Widgets. More here... http://android.bigresource.com/Track/android-zjmeISGMz/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM