First of all you need to declare method below setContentView(R.layout.main), and add this:
Then select in created button's onClick event in /layout/main.xml designer in "properties" toolbar this method.
public void buttonOnClick(View v) {
}
Then select in created button's onClick event in /layout/main.xml designer in "properties" toolbar this method.
Комментариев нет:
Отправить комментарий