Compose? 구성하다, 조립하다 Composable? 구성 가능한 ComponentActivity setContent {} Text("apple") @Composable Composable functions that return Unit should start with an uppercase letter @Preview (Add the @Preview annotation before @Composable.) (the composable function must not take any parameters.) shift + option + command + R Column {} Column(Modifier.padding(16.dp)) Image() painterResource(R.drawable.head..
문자열에서 특정 문자의 색상, 스타일을 바꾸고싶다. SpannableStringBuilder setSpan() ForegroundColorSpan(Color.RED) Spannable.SPAN_EXCLUSIVE_EXCLUSIVE StyleSpan(Typeface.BOLD) UnderlineSpan() RelativeSizeSpan(1.5f) BackgroundColorSpan(Color.CYAN) Spannable.SPAN_EXCLUSIVE_INCLUSIVE SpannableStringBuilder.insert(36, "INCLUSIVE") activity_main.xml MainActivity.kt package com.example.spannableexample import android.graphi..
- Total
- Today
- Yesterday
- 혀가 길지 않은 개발자
- Android
- java
- MVVM
- James Kim
- 안드로이드
- recyclerview
- JSONArray
- Kotlin
- CoordinatorLayout
- 안드로이드 #코틀린 #Android #Kotlin
- DataBinding
- TabLayout
- coroutine
- handler
- fragment
- JSONObject
- ViewPager2
- Vue.js #Vue.js + javascript
- ArrayList
- View
- Intent
- Architecture Pattern
- Design Pattern
- 코틀린
- activity
- 자바
- ViewModel
- Livedata
- XML
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |