Share via


Notification.WearableExtender.HintAvoidBackgroundClipping Property

Definition

Get a hint that this notification's background should not be clipped if possible, and should instead be resized to fully display on the screen, retaining the aspect ratio of the image.

public bool HintAvoidBackgroundClipping { [Android.Runtime.Register("getHintAvoidBackgroundClipping", "()Z", "", ApiSince=22)] get; }
[<get: Android.Runtime.Register("getHintAvoidBackgroundClipping", "()Z", "", ApiSince=22)>]
member this.HintAvoidBackgroundClipping : bool

Property Value

true if it's ok if the background is clipped on the screen, false otherwise. The default value is false if this was never set.

Attributes

Remarks

Get a hint that this notification's background should not be clipped if possible, and should instead be resized to fully display on the screen, retaining the aspect ratio of the image. This can be useful for images like barcodes or qr codes.

Java documentation for android.app.Notification.WearableExtender.getHintAvoidBackgroundClipping().

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