Udostępnij za pośrednictwem


GetWalletCardsRequest.IconSizePx Property

Definition

Wallet cards may be displayed next to an icon.

public int IconSizePx { [Android.Runtime.Register("getIconSizePx", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getIconSizePx", "()I", "", ApiSince=30)>]
member this.IconSizePx : int

Property Value

Attributes

Remarks

Wallet cards may be displayed next to an icon. The icon can help to convey additional information about the state of the card. If the provided icon is a bitmap, its width and height should equal iconSizePx so that it is rendered without distortion caused by scaling.

Java documentation for android.service.quickaccesswallet.GetWalletCardsRequest.getIconSizePx().

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