次の方法で共有


TypedValue.SourceResourceId Property

Definition

If the Value came from a style resource or a layout resource (set in an XML layout), this holds the corresponding style or layout resource id against which the attribute was resolved.

[Android.Runtime.Register("sourceResourceId", ApiSince=29)]
public int SourceResourceId { get; set; }
[<Android.Runtime.Register("sourceResourceId", ApiSince=29)>]
member this.SourceResourceId : int with get, set

Property Value

Attributes

Remarks

If the Value came from a style resource or a layout resource (set in an XML layout), this holds the corresponding style or layout resource id against which the attribute was resolved.

Java documentation for android.util.TypedValue.sourceResourceId.

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