FindViewById кнопка Kotlin
val btCapturePhoto = findViewById(R.id.btn_camara) as Button
Zarden
val btCapturePhoto = findViewById(R.id.btn_camara) as Button
val button1 = findViewById(R.id.calculate_button) as Button
val button2 : Button = findViewById<Button>(R.id.calculate_button)
val buttno3 = findViewById<Button>(R.id.calculate_button) // Kotlin will detect type and assign it