-
public enum ScaleTypeSee android.widget.ImageView.ScaleType for a description for each type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CENTERCENTER_CROPCENTER_INSIDEFIT_CENTERFIT_XYNONE
-
Method Summary
Modifier and Type Method Description static ScaleTypefromOrdinal(int ordinal)Retrieves the ScaleType with the specified ordinal.-
-
Method Detail
-
fromOrdinal
@NonNull() static ScaleType fromOrdinal(int ordinal)
Retrieves the ScaleType with the specified
ordinal. If the ordinal is outside the allowed ordinals then NONE will be returned- Parameters:
ordinal- The ordinal value for the to retrieve
-
-
-
-