LayerDrawable.SetLayerInset(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 insets in pixels for the drawable at the specified index.
[Android.Runtime.Register("setLayerInset", "(IIIII)V", "GetSetLayerInset_IIIIIHandler")]
public virtual void SetLayerInset (int index, int l, int t, int r, int b);
[<Android.Runtime.Register("setLayerInset", "(IIIII)V", "GetSetLayerInset_IIIIIHandler")>]
abstract member SetLayerInset : int * int * int * int * int -> unit
override this.SetLayerInset : int * int * int * int * int -> unit
Parameters
- index
- Int32
the index of the drawable to adjust
- l
- Int32
number of pixels to add to the left bound
- t
- Int32
number of pixels to add to the top bound
- r
- Int32
number of pixels to subtract from the right bound
- b
- Int32
number of pixels to subtract from the bottom bound
- Attributes
Remarks
Specifies the 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.