LayerDrawable.GetLayerWidth(Int32) Method
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.
[Android.Runtime.Register("getLayerWidth", "(I)I", "GetGetLayerWidth_IHandler", ApiSince=23)]
public virtual int GetLayerWidth (int index);
[<Android.Runtime.Register("getLayerWidth", "(I)I", "GetGetLayerWidth_IHandler", ApiSince=23)>]
abstract member GetLayerWidth : int -> int
override this.GetLayerWidth : int -> int
Parameters
- index
- Int32
the index of the drawable to adjust
Returns
the explicit width of the layer, or -1 if not specified
- Attributes
Remarks
Java documentation for android.graphics.drawable.LayerDrawable.getLayerWidth(int)
.
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.