共用方式為


DrawableContainer.DrawableContainerState.SetVariablePadding(Boolean) Method

Definition

A boolean value indicating whether to use the maximum padding value of all frames in the set (false), or to use the padding value of the frame being shown (true).

[Android.Runtime.Register("setVariablePadding", "(Z)V", "")]
public void SetVariablePadding (bool variable);
[<Android.Runtime.Register("setVariablePadding", "(Z)V", "")>]
member this.SetVariablePadding : bool -> unit

Parameters

variable
Boolean
Attributes

Remarks

A boolean value indicating whether to use the maximum padding value of all frames in the set (false), or to use the padding value of the frame being shown (true). Default value is false.

Java documentation for android.graphics.drawable.DrawableContainer.DrawableContainerState.setVariablePadding(boolean).

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.

Applies to