R.dimen  |  API reference  |  Android Developers


public static final class R.dimen
extends Object



Summary

Constants

int app_icon_size

The standard size (both width and height) of an application icon that will be displayed in the app launcher and elsewhere.

int config_motionExpressiveDefaultEffectDamping
int config_motionExpressiveDefaultSpatialDamping
int config_motionExpressiveFastEffectDamping
int config_motionExpressiveFastSpatialDamping

expressive expressive

int config_motionExpressiveSlowEffectDamping
int config_motionExpressiveSlowSpatialDamping
int config_motionStandardDefaultEffectDamping
int config_motionStandardDefaultSpatialDamping
int config_motionStandardFastEffectDamping
int config_motionStandardFastSpatialDamping

standard

int config_motionStandardSlowEffectDamping
int config_motionStandardSlowSpatialDamping
int config_shapeCornerRadiusLarge
int config_shapeCornerRadiusMedium
int config_shapeCornerRadiusSmall
int config_shapeCornerRadiusXlarge
int config_shapeCornerRadiusXsmall

Material rounded corner configs Values from https://carbon.googleplex.com/google-material-3/tokens/designSystems/20543ce18892f7d9/tokenSets/21c40db4e4f5af15

int dialog_min_width_major

The platform's desired minimum size for a dialog's width when it is along the major axis (that is the screen is landscape).

int dialog_min_width_minor

The platform's desired minimum size for a dialog's width when it is along the minor axis (that is the screen is portrait).

int notification_large_icon_height

The width of the big icons in notifications.

int notification_large_icon_width

The width of the big icons in notifications.

int system_app_widget_background_radius
int system_app_widget_inner_radius

System-provided radius for inner views on app widgets that are positioned 8dp within the widget background view.

int thumbnail_height

The height that is used when creating thumbnails of applications.

int thumbnail_width

The width that is used when creating thumbnails of applications.

Public constructors

dimen()

Inherited methods

From class java.lang.Object

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Constants

app_icon_size

public static final int app_icon_size

The standard size (both width and height) of an application icon that will be displayed in the app launcher and elsewhere.

Constant Value: 17104896 (0x01050000)

config_motionExpressiveDefaultEffectDamping

public static final int config_motionExpressiveDefaultEffectDamping

Constant Value: 17104916 (0x01050014)

config_motionExpressiveDefaultSpatialDamping

public static final int config_motionExpressiveDefaultSpatialDamping

Constant Value: 17104915 (0x01050013)

config_motionExpressiveFastEffectDamping

public static final int config_motionExpressiveFastEffectDamping

Constant Value: 17104914 (0x01050012)

config_motionExpressiveFastSpatialDamping

public static final int config_motionExpressiveFastSpatialDamping

expressive expressive

Constant Value: 17104913 (0x01050011)

config_motionExpressiveSlowEffectDamping

public static final int config_motionExpressiveSlowEffectDamping

Constant Value: 17104918 (0x01050016)

config_motionExpressiveSlowSpatialDamping

public static final int config_motionExpressiveSlowSpatialDamping

Constant Value: 17104917 (0x01050015)

config_motionStandardDefaultEffectDamping

public static final int config_motionStandardDefaultEffectDamping

Constant Value: 17104910 (0x0105000e)

config_motionStandardDefaultSpatialDamping

public static final int config_motionStandardDefaultSpatialDamping

Constant Value: 17104909 (0x0105000d)

config_motionStandardFastEffectDamping

public static final int config_motionStandardFastEffectDamping

Constant Value: 17104908 (0x0105000c)

config_motionStandardFastSpatialDamping

public static final int config_motionStandardFastSpatialDamping

standard

Constant Value: 17104907 (0x0105000b)

config_motionStandardSlowEffectDamping

public static final int config_motionStandardSlowEffectDamping

Constant Value: 17104912 (0x01050010)

config_motionStandardSlowSpatialDamping

public static final int config_motionStandardSlowSpatialDamping

Constant Value: 17104911 (0x0105000f)

config_shapeCornerRadiusLarge

public static final int config_shapeCornerRadiusLarge

Constant Value: 17104922 (0x0105001a)

config_shapeCornerRadiusMedium

public static final int config_shapeCornerRadiusMedium

Constant Value: 17104921 (0x01050019)

config_shapeCornerRadiusSmall

public static final int config_shapeCornerRadiusSmall

Constant Value: 17104920 (0x01050018)

config_shapeCornerRadiusXlarge

public static final int config_shapeCornerRadiusXlarge

Constant Value: 17104923 (0x0105001b)

config_shapeCornerRadiusXsmall

public static final int config_shapeCornerRadiusXsmall

Material rounded corner configs Values from https://carbon.googleplex.com/google-material-3/tokens/designSystems/20543ce18892f7d9/tokenSets/21c40db4e4f5af15

Constant Value: 17104919 (0x01050017)

dialog_min_width_major

public static final int dialog_min_width_major

The platform's desired minimum size for a dialog's width when it is along the major axis (that is the screen is landscape). This may be either a fraction or a dimension.

Constant Value: 17104899 (0x01050003)

dialog_min_width_minor

public static final int dialog_min_width_minor

The platform's desired minimum size for a dialog's width when it is along the minor axis (that is the screen is portrait). This may be either a fraction or a dimension.

Constant Value: 17104900 (0x01050004)

notification_large_icon_height

public static final int notification_large_icon_height

The width of the big icons in notifications.

Constant Value: 17104902 (0x01050006)

notification_large_icon_width

public static final int notification_large_icon_width

The width of the big icons in notifications.

Constant Value: 17104901 (0x01050005)

system_app_widget_background_radius

public static final int system_app_widget_background_radius

Constant Value: 17104904 (0x01050008)

system_app_widget_inner_radius

public static final int system_app_widget_inner_radius

System-provided radius for inner views on app widgets that are positioned 8dp within the widget background view. The resolved value of this resource may change at runtime.

Constant Value: 17104905 (0x01050009)

thumbnail_height

public static final int thumbnail_height

The height that is used when creating thumbnails of applications. The height that is used when creating thumbnails of applications. The height that is used when creating thumbnails of applications.

Constant Value: 17104897 (0x01050001)

thumbnail_width

public static final int thumbnail_width

The width that is used when creating thumbnails of applications. The width that is used when creating thumbnails of applications. The width that is used when creating thumbnails of applications.

Constant Value: 17104898 (0x01050002)

Public constructors