Drawable.Width Property
Gets or sets the width of the drawable in pixels.
Syntax
public System.Int32 Width { get; set; }Property Value
Default: Differs depending on type. See the table below.
The drawable width in pixels.
Default values
| Class | Default value |
|---|---|
| BitmapDrawable | 400 |
| ExternalDrawable | 400 |
| WindowDrawable | Not used. |
Remarks
For window drawables, changing the size of the window using this property is not supported.
Platforms
Windows, Linux, Android