Partager via


FabricatedOverlay.SetNinePatchResourceValue Method

Definition

Sets the resource value in the fabricated overlay from a nine patch.

[Android.Runtime.Register("setNinePatchResourceValue", "(Ljava/lang/String;Landroid/os/ParcelFileDescriptor;Ljava/lang/String;)V", "GetSetNinePatchResourceValue_Ljava_lang_String_Landroid_os_ParcelFileDescriptor_Ljava_lang_String_Handler", ApiSince=35)]
public virtual void SetNinePatchResourceValue (string resourceName, Android.OS.ParcelFileDescriptor value, string? configuration);
[<Android.Runtime.Register("setNinePatchResourceValue", "(Ljava/lang/String;Landroid/os/ParcelFileDescriptor;Ljava/lang/String;)V", "GetSetNinePatchResourceValue_Ljava_lang_String_Landroid_os_ParcelFileDescriptor_Ljava_lang_String_Handler", ApiSince=35)>]
abstract member SetNinePatchResourceValue : string * Android.OS.ParcelFileDescriptor * string -> unit
override this.SetNinePatchResourceValue : string * Android.OS.ParcelFileDescriptor * string -> unit

Parameters

resourceName
String

name of the target resource to overlay (in the form [package]:type/entry)

value
ParcelFileDescriptor

the file descriptor whose contents are the value of the frro

configuration
String

The string representation of the config this overlay is enabled for

Attributes

Remarks

Sets the resource value in the fabricated overlay from a nine patch.

Java documentation for android.content.om.FabricatedOverlay.setNinePatchResourceValue(java.lang.String, android.os.ParcelFileDescriptor, java.lang.String).

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