Kong-droid

  • 홈
  • 태그
  • 방명록

compose constraint 2

[Compose] ConstraintLayout, ConstraintSet

library 추가 필요[libs.version.toml][versions]//...constaraintLayoutVersion = "1.1.0"[libraries]//...androidx-constraint-layout = { group = "androidx.constraintlayout", name = "constraintlayout-compose", version.ref = "constaraintLayoutVersion" }[plugins]//... createRefs()- constraintLayout 안에 있는 여러 UI 요소(예: 버튼, 텍스트 등)를 서로 연결하고 배치할 수 있는 참조를 생성@Stablefun createRefs(): ConstraintLayoutScope.Constraine..

🤖 Compose 2025.01.07

[Compose] Component 알아보기 - BoxWithConstraints

BoxWithConstraints- 부모의 제약 조건을 기반으로 크기를 조정- 부모의 최대, 최소 크기의 정보를 제공 @Composablefun BoxWithConstraintsTest(modifier: Modifier = Modifier) { BoxWithConstraints( modifier = modifier ) { //box scope Text("maxW: $maxWidth minW: $minWidth") }} 선언된 BoxWithConstraintsTest를 사용해서 값을 modifier에 값을 넣어주면 전달된 값이 찍힌다 @Composablefun Greeting() { Column { BoxWithConstraintsTest(Modi..

카테고리 없음 2025.01.03
이전
1
다음
더보기
프로필사진

Kong-droid

👩🏻‍💻 Android Developer📱

  • 👩🏻‍💻 Develop (146)
    • 💡 Kotlin (11)
    • 📱 Android (67)
    • 🤖 Compose (25)
    • 🦋 Flutter (1)
    • ☕️ Java (4)
    • 💻 프로그래밍 (12)
    • 🐛 버그 (6)
    • 🧐 알고리즘 (8)
      • ⏳ 알고리즘 풀이 (4)
    • 🔍 기술파헤치기 (2)

Tag

안드로이드, Kong-droid, compose recomposition, Kotlin, android glide, 코루틴, coroutine, Android Repository, android compose, android viewmodel, compose, rxjava, android usecase, compose state, rxjava kotlin, java, Android dataBinding, coroutine launch, Android DI, Android,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바