Share via


RemoteViews.SetViewOutlinePreferredRadius(Int32, Single, Int32) Method

Definition

Sets an OutlineProvider on the view whose corner radius is a dimension calculated using TypedValue#applyDimension(int, float, DisplayMetrics).

[Android.Runtime.Register("setViewOutlinePreferredRadius", "(IFI)V", "GetSetViewOutlinePreferredRadius_IFIHandler", ApiSince=31)]
public virtual void SetViewOutlinePreferredRadius (int viewId, float radius, int units);
[<Android.Runtime.Register("setViewOutlinePreferredRadius", "(IFI)V", "GetSetViewOutlinePreferredRadius_IFIHandler", ApiSince=31)>]
abstract member SetViewOutlinePreferredRadius : int * single * int -> unit
override this.SetViewOutlinePreferredRadius : int * single * int -> unit

Parameters

viewId
Int32
radius
Single
units
Int32
Attributes

Remarks

Java documentation for android.widget.RemoteViews.setViewOutlinePreferredRadius(int, 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