Compose Unstyled v1.47: Tooltips, Stack and responsive goodies. Read blog->
UnstyledUI KitBook
DocsBlog
963
Documentation
Theming
Unstyled Components
Universal Components
Blog
Component Catalogue
Jetpack Compose Reference
Getting Started
Overview
Installation
Components
Theming
Theming
Android XML Themes
Dynamic Themes
Theme Overrides
Platform Themes
Composable Primitives
Bottom Sheet
Bottom Sheet (Modal)
Button
Checkbox
Checkbox (TriState)
Dialog
Disclosure
Dropdown Menu
Icon
Modal
Progress Indicator
Radio Group
Scroll Area
Separators
Slider
Tab Group
Text
Tooltip
Text Field
Toggle Switch
Styling
ColoredIndication
focusRing
outline
Responsive Design
Stack
currentWindowContainerSize
defaultMinimumComponentInteractiveSize
Modifiers
buildModifier
UnstyledUI Kit
Book
new
DocsBlog
Compose UI
Compose RuntimeCompose Runtime SaveableCompose Runtime AnnotationCompose UICompose UI GeometryCompose UI GraphicsCompose UI TestCompose UI TextCompose UI UnitCompose AnimationCompose Animation CoreCompose Animation GraphicsCompose FoundationCompose Foundation LayoutMaterial 3 ComposeMaterial 3 AdaptiveMaterial 3 Window Size ClassMaterial ComposeMaterial RippleWear Material 3 ComposeWear Material ComposeWear FoundationWear NavigationGlanceGlance App WidgetGlance Wear TilesCompose TV FoundationCompose TV Material
Composable Functions
  • AndroidView
  • Dialog
  • Group
  • InterceptPlatformTextInput
  • Layout
  • LookaheadScope
  • MultiMeasureLayout
  • Path
  • Popup
  • RenderVectorGroup
  • SubcomposeLayout
  • booleanResource
  • colorResource
  • dimensionResource
  • fontResource
  • imageResource
  • integerArrayResource
  • integerResource
  • painterResource
  • pluralStringResource
  • rememberGraphicsLayer
  • rememberNestedScrollInteropConnection
  • rememberTextMeasurer
  • rememberVectorPainter
  • stringArrayResource
  • stringResource
  • vectorResource
Modifiers
  • alpha
  • approachLayout
  • blur
  • clearAndSetSemantics
  • clip
  • clipToBounds
  • composed
  • contentType
  • drawBehind
  • drawWithCache
  • drawWithContent
  • dropShadow
  • focusModifier
  • focusOrder
  • focusProperties
  • focusRequester
  • focusRestorer
  • focusTarget
  • graphicsLayer
  • innerShadow
  • inspectable
  • keepScreenOn
  • layout
  • layoutBounds
  • layoutId
  • modifierLocalConsumer
  • modifierLocalProvider
  • motionEventSpy
  • nestedScroll
  • onFirstVisible
  • onFocusChanged
  • onFocusEvent
  • onGloballyPositioned
  • onIndirectTouchEvent
  • onInterceptKeyBeforeSoftKeyboard
  • onKeyEvent
  • onLayoutRectChanged
  • onPlaced
  • onPreIndirectTouchEvent
  • onPreInterceptKeyBeforeSoftKeyboard
  • onPreRotaryScrollEvent
  • onPreviewKeyEvent
  • onRotaryScrollEvent
  • onSizeChanged
  • onVisibilityChanged
  • paint
  • pointerHoverIcon
  • pointerInput
  • pointerInteropFilter
  • preferredFrameRate
  • rotate
  • scale
  • semantics
  • sensitiveContent
  • shadow
  • stylusHoverIcon
  • testTag
  • toolingGraphicsLayer
  • zIndex
Classes
  • AbstractComposeView
  • AccessibilityAction
  • AlignmentLine
  • AndroidUiDispatcher
  • AndroidUiFrameClock
  • AndroidUriHandler
  • AndroidViewConfiguration
  • AutofillManager
  • AutofillNode
  • AutofillTree
  • AutofillType
  • BiasAbsoluteAlignment
  • BiasAlignment
  • BlurredEdgeTreatment
  • CacheDrawScope
  • ClipEntry
  • ClipMetadata
  • CollectionInfo
  • CollectionItemInfo
  • CombinedModifier
  • ComposeView
  • CompositingStrategy
  • ConsumedData
  • CustomAccessibilityAction
  • DelegatingNode
  • DialogProperties
  • DpTouchBoundsExpansion
  • DragAndDropEvent
  • DragAndDropTransferData
  • DrawResult
  • ExperimentalVelocityTrackerApi
  • FixedScale
  • FocusDirection
  • FocusOrder
  • FocusRequester
  • Focusability
  • FrameRateCategory
  • HapticFeedbackType
  • HistoricalChange
  • HorizontalAlignmentLine
  • HorizontalRuler
  • ImageVector
  • IndirectTouchEventPrimaryDirectionalMotionAxis
  • IndirectTouchEventType
  • InputMode
  • InspectableModifier
  • InspectorInfo
  • InspectorValueInfo
  • InternalCoreApi
  • Key
  • KeyEvent
  • KeyEventType
  • LayoutBoundsHolder
  • LiveRegionMode
  • MeasureScopeMarker
  • ModifierInfo
  • ModifierLocal
  • ModifierLocalMap
  • ModifierNodeElement
  • NativeClipboard
  • NativeKeyEvent
  • NativePointerButtons
  • NativePointerKeyboardModifiers
  • NestedScrollDispatcher
  • NestedScrollSource
  • Placeable
  • PlacementScopeMarker
  • PointerButtons
  • PointerEvent
  • PointerEventPass
  • PointerEventTimeoutCancellationException
  • PointerEventType
  • PointerId
  • PointerInputChange
  • PointerInputFilter
  • PointerKeyboardModifiers
  • PointerType
  • PopupProperties
  • ProgressBarRangeInfo
  • ProvidableModifierLocal
  • Ref
  • RelativeLayoutBounds
  • RequestDisallowInterceptTouchEvent
  • ResourceResolutionException
  • Role
  • RotaryScrollEvent
  • Ruler
  • ScaleFactor
  • ScrollAxisRange
  • SecureFlagPolicy
  • SemanticsConfiguration
  • SemanticsNode
  • SemanticsOwner
  • SemanticsPropertyKey
  • SubcomposeLayoutState
  • TextToolbarStatus
  • ToggleableState
  • TouchBoundsExpansion
  • TransformOrigin
  • UiComposable
  • VNode
  • ValueElement
  • ValueElementSequence
  • VectorApplier
  • VectorComposable
  • VectorGroup
  • VectorNode
  • VectorPainter
  • VectorPath
  • VectorProperty
  • VelocityTracker
  • VelocityTracker1D
  • VerticalAlignmentLine
  • VerticalRuler
Interfaces
  • AccessibilityManager
  • Alignment
  • ApproachIntrinsicMeasureScope
  • ApproachLayoutModifierNode
  • ApproachMeasureScope
  • Autofill
  • AwaitPointerEventScope
  • BeyondBoundsLayout
  • BeyondBoundsLayoutProviderModifierNode
  • BringIntoViewModifierNode
  • BuildDrawCacheParams
  • CacheDrawModifierNode
  • Clipboard
  • ClipboardManager
  • CompositionLocalConsumerModifierNode
  • ContentCaptureManager
  • ContentDataType
  • ContentScale
  • ContentType
  • DelegatableNode
  • DialogWindowProvider
  • DragAndDropModifierNode
  • DragAndDropSourceModifierNode
  • DragAndDropStartTransferScope
  • DragAndDropTarget
  • DragAndDropTargetModifierNode
  • DrawCacheModifier
  • DrawModifier
  • DrawModifierNode
  • DropShadowScope
  • FillableData
  • FocusEnterExitScope
  • FocusEventModifier
  • FocusEventModifierNode
  • FocusManager
  • FocusOrderModifier
  • FocusProperties
  • FocusPropertiesModifierNode
  • FocusRequesterModifier
  • FocusRequesterModifierNode
  • FocusState
  • FocusTargetModifierNode
  • GlobalPositionAwareModifierNode
  • GraphicLayerInfo
  • GraphicsLayerScope
  • HapticFeedback
  • IndirectTouchEvent
  • IndirectTouchInputModifierNode
  • InfiniteAnimationPolicy
  • InnerShadowScope
  • InputModeManager
  • InspectableValue
  • IntrinsicMeasurable
  • IntrinsicMeasureScope
  • KeyInputModifierNode
  • LayoutAwareModifierNode
  • LayoutCoordinates
  • LayoutIdParentData
  • LayoutInfo
  • LayoutModifier
  • LayoutModifierNode
  • LookaheadScope
  • Measurable
  • MeasurePolicy
  • MeasureResult
  • MeasureScope
  • Measured
  • Modifier
  • ModifierLocalConsumer
  • ModifierLocalModifierNode
  • ModifierLocalProvider
  • ModifierLocalReadScope
  • MotionDurationScale
  • MultiContentMeasurePolicy
  • NestedScrollConnection
  • ObserverModifierNode
  • OnGloballyPositionedModifier
  • OnPlacedModifier
  • OnRemeasuredModifier
  • ParentDataModifier
  • ParentDataModifierNode
  • PinnableContainer
  • PlatformTextInputInterceptor
  • PlatformTextInputMethodRequest
  • PlatformTextInputModifierNode
  • PlatformTextInputSession
  • PlatformTextInputSessionScope
  • PointerIcon
  • PointerInputEventHandler
  • PointerInputModifier
  • PointerInputModifierNode
  • PointerInputScope
  • PopupPositionProvider
  • RectRulers
  • Remeasurement
  • RemeasurementModifier
  • RootForTest
  • RotaryInputModifierNode
  • RulerScope
  • SemanticsModifier
  • SemanticsModifierNode
  • SemanticsPropertyReceiver
  • ShadowScope
  • SoftKeyboardInterceptionModifierNode
  • SoftwareKeyboardController
  • SubcomposeMeasureScope
  • SubcomposeSlotReusePolicy
  • SuspendingPointerInputModifierNode
  • TextToolbar
  • TraversableNode
  • UriHandler
  • VectorConfig
  • ViewCompositionStrategy
  • ViewConfiguration
  • ViewRootForInspector
  • ViewRootForTest
  • WindowInfo
  • WindowInsetsAnimation
  • WindowInsetsRulers
Properties
  • DefaultCameraDistance
  • DefaultFillType
  • DefaultGroupName
  • DefaultPathName
  • DefaultPivotX
  • DefaultPivotY
  • DefaultRotation
  • DefaultScaleX
  • DefaultScaleY
  • DefaultShadowColor
  • DefaultStrokeLineCap
  • DefaultStrokeLineJoin
  • DefaultStrokeLineMiter
  • DefaultStrokeLineWidth
  • DefaultTintBlendMode
  • DefaultTintColor
  • DefaultTranslationX
  • DefaultTranslationY
  • DefaultTrimPathEnd
  • DefaultTrimPathOffset
  • DefaultTrimPathStart
  • DisableContentCapture
  • EmptyPath
  • FirstBaseline
  • LastBaseline
  • LocalAccessibilityManager
  • LocalAutofill
  • LocalAutofillManager
  • LocalAutofillTree
  • LocalClipboard
  • LocalClipboardManager
  • LocalConfiguration
  • LocalContext
  • LocalCursorBlinkEnabled
  • LocalDensity
  • LocalFocusManager
  • LocalFontFamilyResolver
  • LocalFontLoader
  • LocalGraphicsContext
  • LocalHapticFeedback
  • LocalInputModeManager
  • LocalInspectionMode
  • LocalLayoutDirection
  • LocalLifecycleOwner
  • LocalPinnableContainer
  • LocalResources
  • LocalSavedStateRegistryOwner
  • LocalScrollCaptureInProgress
  • LocalSoftwareKeyboardController
  • LocalTextInputService
  • LocalTextToolbar
  • LocalUriHandler
  • LocalView
  • LocalViewConfiguration
  • LocalWindowInfo
  • ModifierLocalBeyondBoundsLayout
  • NoInspectorInfo
  • NoOpUpdate
  • RootGroupName
  • VelocityTrackerAddPointsFix
  • accessibilityClassName
  • areAnyPressed
  • collectionInfo
  • collectionItemInfo
  • compositionContext
  • contentDataType
  • contentDescription
  • contentType
  • customActions
  • dataType
  • editableText
  • fillableData
  • focused
  • horizontalScrollAxisRange
  • imeAction
  • inputText
  • isAltGraphPressed
  • isAltPressed
  • isBackPressed
  • isCapsLockOn
  • isContainer
  • isCtrlPressed
  • isDebugInspectorInfoEnabled
  • isEditable
  • isForwardPressed
  • isFunctionPressed
  • isMetaPressed
  • isNumLockOn
  • isPrimaryPressed
  • isScrollLockOn
  • isSecondaryPressed
  • isSensitiveData
  • isShiftPressed
  • isShowingTextSubstitution
  • isSpecified
  • isSymPressed
  • isTertiaryPressed
  • isTraversalGroup
  • isUnspecified
  • key
  • layoutId
  • liveRegion
  • maxTextLength
  • nativeEvent
  • nativeKeyCode
  • paneTitle
  • progressBarRangeInfo
  • role
  • selected
  • shape
  • stateDescription
  • testTag
  • testTagsAsResourceId
  • text
  • textSelectionRange
  • textSubstitution
  • toggleableState
  • traversalIndex
  • type
  • utf16CodePoint
  • verticalScrollAxisRange
  • view
Functions
  • addPathNodes
  • addPointerInputChange
  • anyChangeConsumed
  • boundsInParent
  • boundsInRoot
  • boundsInWindow
  • bringIntoView
  • CacheDrawModifierNode
  • captureFocus
  • changedToDown
  • changedToDownIgnoreConsumed
  • changedToUp
  • changedToUpIgnoreConsumed
  • clearTextSubstitution
  • collapse
  • consumeAllChanges
  • consumeDownChange
  • consumePositionChange
  • ContentDataType
  • ContentType
  • copyText
  • createFrom
  • createLifecycleAwareWindowRecomposer
  • currentValueOf
  • cutText
  • debugInspectorInfo
  • dialog
  • disabled
  • dismiss
  • dispatchDraw
  • dispatchOnScrollChanged
  • div
  • DpTouchBoundsExpansion
  • DragAndDropModifierNode
  • DragAndDropSourceModifierNode
  • DragAndDropTargetModifierNode
  • error
  • establishTextInputSession
  • expand
  • findNearestAncestor
  • findNearestBeyondBoundsLayoutAncestor
  • findRootCoordinates
  • findViewTreeCompositionContext
  • firstUriOrNull
  • FocusTargetModifierNode
  • freeFocus
  • getAllSemanticsNodes
  • getDisplayCutoutBounds
  • getFocusedRect
  • getOrNull
  • getScrollViewportLength
  • getTextLayoutResult
  • GraphicsLayerScope
  • group
  • heading
  • hideFromAccessibility
  • imageResource
  • indexForKey
  • indexOfFirstPressed
  • indexOfLastPressed
  • IndirectTouchEvent
  • innermostOf
  • insertTextAtCursor
  • invalidateDraw
  • invalidateDrawForSubtree
  • invalidateFocusProperties
  • invalidateLayer
  • invalidateMeasurement
  • invalidateMeasurementForSubtree
  • invalidateParentData
  • invalidatePlacement
  • invalidateSemantics
  • invalidateSubtree
  • invisibleToUser
  • isOutOfBounds
  • isPopupLayout
  • isPressed
  • Key
  • lerp
  • lookaheadScopeCoordinates
  • materialize
  • materializeWithCompositionLocalInjection
  • mimeTypes
  • modifierLocalMapOf
  • modifierLocalOf
  • nestedScrollModifierNode
  • observeReads
  • onAutofillText
  • onClick
  • onFillData
  • onImeAction
  • onLongClick
  • outermostOf
  • pageDown
  • pageLeft
  • pageRight
  • pageUp
  • password
  • pasteText
  • path
  • PathData
  • performImeAction
  • PointerIcon
  • popup
  • positionChange
  • positionChangeConsumed
  • positionChanged
  • positionChangedIgnoreConsumed
  • positionChangeIgnoreConsumed
  • positionInParent
  • positionInRoot
  • positionInWindow
  • positionOnScreen
  • RectRulers
  • registerOnGlobalLayoutListener
  • registerOnLayoutRectChanged
  • remeasureSync
  • requestAutofill
  • requestFocus
  • requestFocusForChildInRootBounds
  • requireDensity
  • requireGraphicsContext
  • requireLayoutCoordinates
  • requireLayoutDirection
  • requireView
  • restoreFocusedChild
  • saveFocusedChild
  • ScaleFactor
  • scrollBy
  • scrollByOffset
  • scrollToIndex
  • selectableGroup
  • SemanticsPropertyKey
  • setProgress
  • setSelection
  • setText
  • setTextSubstitution
  • showTextSubstitution
  • SubcomposeSlotReusePolicy
  • SuspendingPointerInputModifierNode
  • takeOrElse
  • times
  • toAndroidDragEvent
  • toAutofillValue
  • toClipEntry
  • toClipMetadata
  • ToggleableState
  • TouchBoundsExpansion
  • TransformOrigin
  • traverseAncestors
  • traverseChildren
  • traverseDescendants
  • updateLayerBlock
  • vectorResource

DefaultScaleY

Compose API Reference Compose UI

DefaultScaleY

Property

Common
const val DefaultScaleY = 1.0f
    On this page
Sponsored By
Become a sponsor