Langue

LocationButtonRequest.Builder.SetPressedCornerRadius(Single) Method

Definition

Sets the corner radius of the button when pressed.

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

Parameters

cornerRadius
Single

Returns

Attributes

Remarks

Sets the corner radius of the button when pressed.

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

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

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