Composables
Components Unstyled Icons Colors Compose
Components Unstyled Icons Colors Compose UI Kit UI Blocks SVG to Compose Android Distribution Community Docs Blog
Composable Functions
  • Box
  • Button
  • Column
  • GlanceTheme
  • Image
  • Row
  • Spacer
  • Text
  • action
  • clickable
  • currentState
Classes
  • ActionParameters
  • Alignment
  • ButtonColors
  • ColorFilter
  • ColorProviders
  • CombinedGlanceModifier
  • ContentScale
  • ExperimentalGlanceApi
  • FontFamily
  • FontStyle
  • FontWeight
  • GlanceComposable
  • MutableActionParameters
  • SemanticsConfiguration
  • SemanticsPropertyKey
  • TextAlign
  • TextDecoration
  • TextStyle
  • Visibility
Interfaces
  • Action
  • ColorProvider
  • ColumnScope
  • GlanceId
  • GlanceModifier
  • GlanceStateDefinition
  • ImageProvider
  • RowScope
  • SemanticsPropertyReceiver
Properties
  • GlanceSessionManager
  • LocalContext
  • LocalGlanceId
  • LocalSize
  • LocalState
  • NoRippleOverride
  • contentDescription
  • isNightMode
  • testTag
Functions
  • absolutePadding
  • actionParametersOf
  • actionStartActivity
  • background
  • clickable
  • ColorProvider
  • colorProviders
  • fillMaxHeight
  • fillMaxSize
  • fillMaxWidth
  • height
  • ImageProvider
  • mutableActionParametersOf
  • padding
  • semantics
  • size
  • toMutableParameters
  • toParameters
  • toParametersKey
  • visibility
  • width
  • wrapContentHeight
  • wrapContentSize
  • wrapContentWidth
Jetpack Compose › Glance

LocalSize

View Markdown Open in ChatGPT Open in Claude
Property
Android
public val LocalSize: ProvidableCompositionLocal<DpSize>

Size of the glance view being generated.

The glance view will have at least that much space to be displayed. The exact meaning may changed depending on the surface and how it is configured.

LocalGlanceId ← Previous LocalState Next →
On this page
  • API Reference
Sponsored By
RevenueCat Become a sponsor

Never miss a Compose release

Get an alert the moment a new Compose release is out: new APIs, new components, new things to experiment with. Straight from Google's servers.

Join 3,000+ Compose developers. No spam, ever.