package com.example.cosmosclient.views; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import com.example.cosmosclient.R; public class SigninActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_signin); // Button SigninButton = findViewById(R.id.SigninButton); // SigninButton.setOnClickListener(new View.OnClickListener() { // @Override // public void onClick(View v) { // Intent intent = new Intent(getApplication(), GroupsListActivity.class); // startActivity(intent); // finish(); // } // }); Button SignupButton = findViewById(R.id.SignupButton); SignupButton.setOnClickListener(new View.OnClickListener(){ @Override public void onClick(View v){ Intent intent = new Intent(getApplication(), SignupActivity.class); startActivity(intent); finish(); } }); } }