Example usage for Java android.appwidget AppWidgetProviderInfo fields, constructors, methods, implement or subclass
The text is from its open source code.
int | RESIZE_NONE Widget is not resizable. |
int | WIDGET_CATEGORY_KEYGUARD Indicates that the widget can be displayed on the keyguard. |
int | WIDGET_CATEGORY_SEARCHBOX Indicates that the widget can be displayed within a space reserved for the search box. |
Drawable | loadIcon(@NonNull Context context, int density) Loads the icon to display for this AppWidget in the AppWidget picker. |
String | loadLabel(PackageManager packageManager) Loads the localized label to display to the user in the AppWidget picker. |
Drawable | loadPreviewImage(@NonNull Context context, int density) Loads a preview of what the AppWidget will look like after it's configured. |