java.lang.Object | |
↳ | com.google.android.gms.wallet.fragment.Dimension |
Constants for specifying dimensions in WalletFragmentStyle
.
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 | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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.
Dimension unit - device independent pixels
Dimension unit - inches
Dimension unit - millimeters
Dimension unit - points
Dimension unit - raw pixels
Dimension unit - scaled pixel
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.