Lingua

LocationButtonRequest.Builder.SetCornerRadius(Single) Method

Definition

Sets the corner radius of the button.

[Android.Runtime.Register("setCornerRadius", "(F)Landroid/app/permissionui/LocationButtonRequest$Builder;", "", ApiSince=37)]
public Android.App.PermissionUI.LocationButtonRequest.Builder SetCornerRadius(float cornerRadius);
[<Android.Runtime.Register("setCornerRadius", "(F)Landroid/app/permissionui/LocationButtonRequest$Builder;", "", ApiSince=37)>]
member this.SetCornerRadius : single -> Android.App.PermissionUI.LocationButtonRequest.Builder

Parameters

cornerRadius
Single

Returns

Attributes

Remarks

Sets the corner radius of the button.

The corner radius must be non-negative. Negative values will be clamped to 0.

Android reference for android.app.permissionui.LocationButtonRequest.Builder.setCornerRadius.

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