AppWidgetProviderInfo.Icon Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The icon to display for this AppWidget in the AppWidget picker.
[Android.Runtime.Register("icon")]
public int Icon { get; set; }
[<Android.Runtime.Register("icon")>]
member this.Icon : int with get, set
Property Value
- Attributes
Remarks
The icon to display for this AppWidget in the AppWidget picker. If not supplied in the xml, the application icon will be used.
This field corresponds to the android:icon
attribute in the <receiver>
element in the AndroidManifest.xml file.
Java documentation for android.appwidget.AppWidgetProviderInfo.icon
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.