Udostępnij za pośrednictwem


Window.SetFeatureDrawableUri(WindowFeatures, Uri) Method

Definition

Set the value for a drawable feature of this window, from a URI.

[Android.Runtime.Register("setFeatureDrawableUri", "(ILandroid/net/Uri;)V", "GetSetFeatureDrawableUri_ILandroid_net_Uri_Handler")]
public abstract void SetFeatureDrawableUri (Android.Views.WindowFeatures featureId, Android.Net.Uri? uri);
[<Android.Runtime.Register("setFeatureDrawableUri", "(ILandroid/net/Uri;)V", "GetSetFeatureDrawableUri_ILandroid_net_Uri_Handler")>]
abstract member SetFeatureDrawableUri : Android.Views.WindowFeatures * Android.Net.Uri -> unit

Parameters

featureId
WindowFeatures

The desired drawable feature to change. Features are constants defined by Window.

uri
Uri

The desired URI.

Attributes

Remarks

Set the value for a drawable feature of this window, from a URI. You must have called requestFeature(featureId) before calling this function.

The only URI currently supported is "content:", specifying an image in a content provider.

Java documentation for android.view.Window.setFeatureDrawableUri(int, android.net.Uri).

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

See also