I\'m very new to Android development and just started to study.
What I\'m trying is to add a button and when that button is pressed a text \"my first project\" to ge
This is because you DON'T associated the OnClickListener() on the button retrieve from the XML layout.
You don't need to create object because they are already created by the Android system when you inflate XML file (with the Activity.setContentLayout( int resourceLayoutId ) method).
Just retrieve them with the findViewById(...) method.