LayerDrawable.SetLayerInsetRelative(Int32, Int32, Int32, Int32, 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.
Specifies the relative insets in pixels for the drawable at the specified index.
[Android.Runtime.Register("setLayerInsetRelative", "(IIIII)V", "GetSetLayerInsetRelative_IIIIIHandler", ApiSince=23)]
public virtual void SetLayerInsetRelative (int index, int s, int t, int e, int b);
[<Android.Runtime.Register("setLayerInsetRelative", "(IIIII)V", "GetSetLayerInsetRelative_IIIIIHandler", ApiSince=23)>]
abstract member SetLayerInsetRelative : int * int * int * int * int -> unit
override this.SetLayerInsetRelative : int * int * int * int * int -> unit
Parameters
- index
- Int32
the index of the layer to adjust
- s
- Int32
number of pixels to inset from the start bound
- t
- Int32
number of pixels to inset from the top bound
- e
- Int32
number of pixels to inset from the end bound
- b
- Int32
number of pixels to inset from the bottom bound
- Attributes
Remarks
Specifies the relative insets in pixels for the drawable at the specified index.
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.