Lingua

ILocationButtonSession.SetBackgroundColor(Color) Metodo

Definizione

Imposta il colore di sfondo del pulsante di posizione.

[Android.Runtime.Register("setBackgroundColor", "(I)V", "GetSetBackgroundColor_IHandler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)]
public void SetBackgroundColor(Android.Graphics.Color color);
[<Android.Runtime.Register("setBackgroundColor", "(I)V", "GetSetBackgroundColor_IHandler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)>]
abstract member SetBackgroundColor : Android.Graphics.Color -> unit

Parametri

color
Color

Colore di sfondo desiderato, come .ColorInt

Attributi

Commenti

Imposta il colore di sfondo del pulsante di posizione.

Per i vincoli di input, vedere LocationButtonRequest.Builder.setBackgroundColor(int).

Informazioni di riferimento su Android per android.app.permissionui.LocationButtonSession.setBackgroundColor.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a