일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- hadoop
- NPM
- Express
- window
- 공정능력
- es6
- vaadin
- 보조정렬
- react
- MSSQL
- mapreduce
- JavaScript
- xPlatform
- mybatis
- R
- SQL
- Kotlin
- SPC
- table
- Sqoop
- Eclipse
- plugin
- Python
- SSL
- Android
- Java
- IntelliJ
- tomcat
- Spring
- GIT
- Today
- Total
목록2024/03 (22)
DBILITY

안드로이드 스튜디오가 바뀌었다. Empty View를 생성하니..코드들이 자동 생성되어 있다.enableEdgeToEdge() 는 상단 StatusBar와 하단 NavigationBar 위치까지 Activity Window를 확장하게 한다. 전체화면이다.FAB를 배치한다거나 하면 하단이 겹치게 된다. 그래서 아래 코드도 자동으로 입력되나 보다.R.id.main은 최상위 layout의 id인가 보다.ViewCompat.setOnApplyWindowInsetsListener(binding.main) { v, insets -> val systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars()) v.setPadding(systemBars.l..

class MainActivity : AppCompatActivity() { private val binding by lazy { ActivityMainBinding.inflate(layoutInflater) } private var list = listOf("--선택하세요--","사과","바나나","귤") override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) //enableEdgeToEdge() setContentView(binding.root) /*ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main)) { v, insets -> val..