Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-020
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
O.V.B Sewmina
2022-020
Commits
693d76c3
Commit
693d76c3
authored
Oct 09, 2022
by
A.P.R.C. Abeyrathna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pre-Finalization V1.0
parent
1b0d0dd7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
app/src/main/java/com/app/travelle/Signup.java
app/src/main/java/com/app/travelle/Signup.java
+18
-1
app/src/main/res/layout/activity_signup.xml
app/src/main/res/layout/activity_signup.xml
+1
-1
No files found.
app/src/main/java/com/app/travelle/Signup.java
View file @
693d76c3
...
...
@@ -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
app/src/main/res/layout/activity_signup.xml
View file @
693d76c3
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment