diff --git a/app/src/main/java/org/ntlab/amaryllis/client/SignupActivity.java b/app/src/main/java/org/ntlab/amaryllis/client/SignupActivity.java index a293648..4cd17d0 100644 --- a/app/src/main/java/org/ntlab/amaryllis/client/SignupActivity.java +++ b/app/src/main/java/org/ntlab/amaryllis/client/SignupActivity.java @@ -2,7 +2,10 @@ import androidx.appcompat.app.AppCompatActivity; +import android.content.Intent; import android.os.Bundle; +import android.view.View; +import android.widget.Button; public class SignupActivity extends AppCompatActivity { @@ -10,5 +13,13 @@ protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_signup); + Button signupButton = (Button)findViewById(R.id.button); + signupButton.setOnClickListener(new View.OnClickListener() { + public void onClick(View v) { + Intent intent = new Intent(SignupActivity.this,MapsActivity.class); + startActivity(intent); + } + }); + } } \ No newline at end of file