Posts by Antônio Neto • 1 point
1 post
-
-1
votes1
answer70
viewsA: My material components are not being recognized in my Activity
You just need to add the following line in your method onCreate(): val bt = findViewById<Button>(R.id.btnAvancar) So you do a search in your xml for the button identifier and can access it…