There must not be be semi colon after case R.id.buttonlgin
,it must be colon.
i.e replace case R.id.buttonlgin;
with case R.id.buttonlgin:
and remove the first occurence of break; in your code to make your code work
2
solved Syntax error, insert “:” to complete SwitchLabel