Commit 693d76c3 authored by A.P.R.C. Abeyrathna's avatar A.P.R.C. Abeyrathna

Pre-Finalization V1.0

parent 1b0d0dd7
......@@ -2,11 +2,16 @@ package com.app.travelle;
import androidx.appcompat.app.AppCompatActivity;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;
import android.widget.Button;
public class Signup extends AppCompatActivity {
private Button direct_to_login;
@SuppressLint("MissingInflatedId")
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
......@@ -14,5 +19,17 @@ public class Signup extends AppCompatActivity {
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
getSupportActionBar().hide();
setContentView(R.layout.activity_signup);
direct_to_login = (Button) findViewById(R.id.login_direct);
direct_to_login.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
direct_toLogin();
}
});
}
public void direct_toLogin(){
Intent intent = new Intent(this, Login.class);
startActivity(intent);
}
}
\ No newline at end of file
......@@ -206,7 +206,7 @@
app:layout_constraintStart_toStartOf="parent" />
<Button
android:id="@+id/signup"
android:id="@+id/login_direct"
android:layout_width="165dp"
android:layout_height="49dp"
android:layout_marginStart="204dp"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment