To create the buttons used the library FButton . Then he tried to add a listener to him through the Butter Knife, did not work.
@OnClick(R.id.startButton)
Then I tried to create a button object and give it to the listener. The same did not work.
FButton btn = (FButton)findViewById(R.id.startButton); View.OnClickListener btnClick = new View.OnClickListener() { @Override public void onClick(View v) { startActivity(new Intent(context, MenuActivity.class)); } }; btn.setOnClickListener(btnClick);
It did not help, the button does not respond (