Summary: Constants | Inherited Methods | [Expand All]
public static abstract @interface

# WalletFragmentStyle.Dimension

implements Annotation

com.google.android.gms.wallet.fragment.WalletFragmentStyle.Dimension

## Class Overview

Constants for specifying dimensions in `WalletFragmentStyle`.

## Summary

Constants
int | MATCH_PARENT | Special value for width/height of a view.
int | UNIT_DIP | Dimension unit - device independent pixels
int | UNIT_IN | Dimension unit - inches
int | UNIT_MM | Dimension unit - millimeters
int | UNIT_PT | Dimension unit - points
int | UNIT_PX | Dimension unit - raw pixels
int | UNIT_SP | Dimension unit - scaled pixel
int | WRAP_CONTENT | Special value for width/height of a view.

[Expand] Inherited Methods
From interface java.lang.annotation.Annotation
abstract Class<? extends Annotation> | annotationType()
abstract boolean | equals(Object arg0)
abstract int | hashCode()
abstract String | toString()

## Constants

#### public static final int MATCH_PARENT

Special value for width/height of a view. It means that the view wants to be as big as its parent, minus the parent's padding, if any.

Constant Value: -1 (0xffffffff)

#### public static final int UNIT_DIP

Dimension unit - device independent pixels

Constant Value: 1 (0x00000001)

#### public static final int UNIT_IN

Dimension unit - inches

Constant Value: 4 (0x00000004)

#### public static final int UNIT_MM

Dimension unit - millimeters

Constant Value: 5 (0x00000005)

#### public static final int UNIT_PT

Dimension unit - points

Constant Value: 3 (0x00000003)

#### public static final int UNIT_PX

Dimension unit - raw pixels

Constant Value: 0 (0x00000000)

#### public static final int UNIT_SP

Dimension unit - scaled pixel

Constant Value: 2 (0x00000002)

#### public static final int WRAP_CONTENT

Special value for width/height of a view. It means the view wants to be just large enough to fit its own internal content, taking its own padding into account.

Constant Value: -2 (0xfffffffe)