RemoteViews.SetFloatDimen 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.
Overloads
SetFloatDimen(Int32, String, Single, Int32) |
Call a method taking one float, a size in pixels, on a view in the layout for this RemoteViews. |
SetFloatDimen(Int32, String, Int32) |
Call a method taking one float, a size in pixels, on a view in the layout for this RemoteViews. |
SetFloatDimen(Int32, String, Single, Int32)
Call a method taking one float, a size in pixels, on a view in the layout for this RemoteViews.
[Android.Runtime.Register("setFloatDimen", "(ILjava/lang/String;FI)V", "GetSetFloatDimen_ILjava_lang_String_FIHandler", ApiSince=31)]
public virtual void SetFloatDimen (int viewId, string methodName, float value, int unit);
[<Android.Runtime.Register("setFloatDimen", "(ILjava/lang/String;FI)V", "GetSetFloatDimen_ILjava_lang_String_FIHandler", ApiSince=31)>]
abstract member SetFloatDimen : int * string * single * int -> unit
override this.SetFloatDimen : int * string * single * 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.
- value
- Single
The value of the dimension.
- unit
- Int32
The unit in which the value is specified.
- Attributes
Remarks
Java documentation for android.widget.RemoteViews.setFloatDimen(int, java.lang.String, float, 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
SetFloatDimen(Int32, String, Int32)
Call a method taking one float, a size in pixels, on a view in the layout for this RemoteViews.
[Android.Runtime.Register("setFloatDimen", "(ILjava/lang/String;I)V", "GetSetFloatDimen_ILjava_lang_String_IHandler", ApiSince=31)]
public virtual void SetFloatDimen (int viewId, string methodName, int dimenResource);
[<Android.Runtime.Register("setFloatDimen", "(ILjava/lang/String;I)V", "GetSetFloatDimen_ILjava_lang_String_IHandler", ApiSince=31)>]
abstract member SetFloatDimen : int * string * int -> unit
override this.SetFloatDimen : 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.
- dimenResource
- Int32
The resource to resolve and pass as argument to the method.
- Attributes
Remarks
Java documentation for android.widget.RemoteViews.setFloatDimen(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.