共用方式為


RemoteViews.SetFloatDimenAttr(Int32, String, Int32) Method

Definition

Call a method taking one float, a size in pixels, on a view in the layout for this RemoteViews.

[Android.Runtime.Register("setFloatDimenAttr", "(ILjava/lang/String;I)V", "GetSetFloatDimenAttr_ILjava_lang_String_IHandler", ApiSince=31)]
public virtual void SetFloatDimenAttr (int viewId, string methodName, int dimenAttr);
[<Android.Runtime.Register("setFloatDimenAttr", "(ILjava/lang/String;I)V", "GetSetFloatDimenAttr_ILjava_lang_String_IHandler", ApiSince=31)>]
abstract member SetFloatDimenAttr : int * string * int -> unit
override this.SetFloatDimenAttr : int * string * int -> unit

Parameters

viewId
Int32

The id of the view on which to call the method.

methodName
String

The name of the method to call.

dimenAttr
Int32

The attribute to resolve and pass as argument to the method.

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setFloatDimenAttr(int, java.lang.String, 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.

Applies to