问题
How do I add google, facebook etc. widgets in my own application?
回答1:
If by "widgets" you mean "app widgets", you can try to use AppWidgetHost
and AppWidgetHostView
. These are mostly used by home screen activities.
来源:https://stackoverflow.com/questions/8366388/add-widgets-into-my-own-application-android