Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Simmitive_Chris_Crook
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chris.crook
Simmitive_Chris_Crook
Commits
747fe30e
Commit
747fe30e
authored
Apr 08, 2021
by
chris.crook
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
> basic navigation wip done
parent
4c62cf61
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
57 additions
and
0 deletions
+57
-0
AdminMenu.java
...ain/java/com/example/summative_chris_crook/AdminMenu.java
+7
-0
UserMenu.java
...main/java/com/example/summative_chris_crook/UserMenu.java
+7
-0
register_page.java
...java/com/example/summative_chris_crook/register_page.java
+7
-0
activity_admin_menu.xml
app/src/main/res/layout/activity_admin_menu.xml
+12
-0
activity_register_page.xml
app/src/main/res/layout/activity_register_page.xml
+12
-0
activity_user_menu.xml
app/src/main/res/layout/activity_user_menu.xml
+12
-0
No files found.
app/src/main/java/com/example/summative_chris_crook/AdminMenu.java
View file @
747fe30e
...
...
@@ -2,7 +2,9 @@ package com.example.summative_chris_crook;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.view.View
;
public
class
AdminMenu
extends
AppCompatActivity
{
...
...
@@ -11,4 +13,9 @@ public class AdminMenu extends AppCompatActivity {
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_admin_menu
);
}
public
void
goback
(
View
view
){
Intent
intent
=
new
Intent
(
this
,
MainActivity
.
class
);
startActivity
(
intent
);
}
}
\ No newline at end of file
app/src/main/java/com/example/summative_chris_crook/UserMenu.java
View file @
747fe30e
...
...
@@ -2,7 +2,9 @@ package com.example.summative_chris_crook;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.view.View
;
public
class
UserMenu
extends
AppCompatActivity
{
...
...
@@ -11,4 +13,9 @@ public class UserMenu extends AppCompatActivity {
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_user_menu
);
}
public
void
goback
(
View
view
){
Intent
intent
=
new
Intent
(
this
,
MainActivity
.
class
);
startActivity
(
intent
);
}
}
\ No newline at end of file
app/src/main/java/com/example/summative_chris_crook/register_page.java
View file @
747fe30e
...
...
@@ -2,7 +2,9 @@ package com.example.summative_chris_crook;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.view.View
;
public
class
register_page
extends
AppCompatActivity
{
...
...
@@ -11,4 +13,9 @@ public class register_page extends AppCompatActivity {
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_register_page
);
}
public
void
goback
(
View
view
){
Intent
intent
=
new
Intent
(
this
,
MainActivity
.
class
);
startActivity
(
intent
);
}
}
\ No newline at end of file
app/src/main/res/layout/activity_admin_menu.xml
View file @
747fe30e
...
...
@@ -6,4 +6,16 @@
android:layout_height=
"match_parent"
tools:context=
".AdminMenu"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
<Button
android:id=
"@+id/button5"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"goback"
android:text=
"Log Out"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_register_page.xml
View file @
747fe30e
...
...
@@ -6,4 +6,16 @@
android:layout_height=
"match_parent"
tools:context=
".register_page"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
<Button
android:id=
"@+id/button3"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"goback"
android:text=
"Log in page"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_user_menu.xml
View file @
747fe30e
...
...
@@ -6,4 +6,16 @@
android:layout_height=
"match_parent"
tools:context=
".UserMenu"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
<Button
android:id=
"@+id/button4"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"goback"
android:text=
"Log Out"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
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