괴발개발 개발새발

  • 블로그홈
  • 지역로그
  • 태그로그
  • 미디어로그
  • 방명록

리니어레이아웃 1

Kotlin으로 Custom View 만들기

class InitView @JvmOverloads constructor( context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0 ) : LinearLayout(context, attrs, defStyleAttr){ init { val inflater: LayoutInflater = getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater val view = inflater.inflate(R.layout.view_main, this, false) addView(view) // 로직 } }

Before 2022/Android 2020.08.25
1
더보기
프로필사진

  • 전체
    • Before 2022
      • Android
      • Java & Spring
      • AWS & DevOps
      • ETC
    • AWS
      • 톺아보기
      • Resources
      • Lambda
    • CS Notes
    • DevOps
      • 톺아보기

Tag

node exporter, libphonenumber, prometheus, Route53, Kotlin, docker, grafana, IAC, devops, EC2, troposphere, Scoped Storage, monitoring, 데브옵스, S3, Android, CloudFront, 안드로이드, AWS, 리니어레이아웃,

최근글과 인기글

  • 최근글
  • 인기글

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.

  • 진이님

티스토리툴바