Android.App.WallpaperManager.GetBuiltInDrawable Method
Returns a drawable for the system built-in static wallpaper.

Syntax

[Android.Runtime.Register("getBuiltInDrawable", "(IIZFF)Landroid/graphics/drawable/Drawable;", "GetGetBuiltInDrawable_IIZFFHandler")]
public virtual Android.Graphics.Drawables.Drawable GetBuiltInDrawable (int outWidth, int outHeight, bool scaleToFit, float horizontalAlignment, float verticalAlignment)

Parameters

outWidth
The height of the returned drawable
outHeight
Documentation for this section has not yet been entered.
scaleToFit
If true, scale the wallpaper down rather than just cropping it
horizontalAlignment
A float value between 0 and 1 specifying where to crop the image; 0 for left-aligned, 0.5 for horizontal center-aligned, and 1 for right-aligned
verticalAlignment
A float value between 0 and 1 specifying where to crop the image; 0 for top-aligned, 0.5 for vertical center-aligned, and 1 for bottom-aligned

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a drawable for the system built-in static wallpaper. Based on the parameters, the drawable can be cropped and scaled

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5