Language

LocationButtonRequest.Builder.SetStrokeColor(Color) Method

Definition

Sets the stroke color of the button.

[Android.Runtime.Register("setStrokeColor", "(I)Landroid/app/permissionui/LocationButtonRequest$Builder;", "", ApiSince=37)]
public Android.App.PermissionUI.LocationButtonRequest.Builder SetStrokeColor(Android.Graphics.Color strokeColor);
[<Android.Runtime.Register("setStrokeColor", "(I)Landroid/app/permissionui/LocationButtonRequest$Builder;", "", ApiSince=37)>]
member this.SetStrokeColor : Android.Graphics.Color -> Android.App.PermissionUI.LocationButtonRequest.Builder

Parameters

strokeColor
Color

The requested color for the button outline.

Returns

This builder, with the outline color setting updated.

Attributes

Remarks

Sets the stroke color of the button.

If not explicitly set, the stroke color will default to the button's background color.

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

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