java android development find element by id

Java
findViewById(R.id.idName) // "idName" replaced with the id of the element you want
Source

Also in Java: