android studio how to manage buttns code example
Example 1: xml button
<androidx.appcompat.widget.AppCompatButton
Example 2: android java buttons
public void clickFunction(View view)
/* Text attributes + onClick (in this case: clickFunction)
Basics: Constraint list / layout margin */