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
19f077f9
Commit
19f077f9
authored
Apr 20, 2021
by
chris.crook
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
> basic checkout screen access
parent
4815c6d4
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
1 deletion
+13
-1
AdminMenu.java
...ain/java/com/example/summative_chris_crook/AdminMenu.java
+5
-0
UserMenu.java
...main/java/com/example/summative_chris_crook/UserMenu.java
+5
-0
activity_admin_menu.xml
app/src/main/res/layout/activity_admin_menu.xml
+2
-1
activity_user_menu.xml
app/src/main/res/layout/activity_user_menu.xml
+1
-0
No files found.
app/src/main/java/com/example/summative_chris_crook/AdminMenu.java
View file @
19f077f9
...
@@ -132,6 +132,11 @@ public class AdminMenu extends AppCompatActivity {
...
@@ -132,6 +132,11 @@ public class AdminMenu extends AppCompatActivity {
startActivity
(
intent
);
startActivity
(
intent
);
}
}
public
void
SelfServiceMode
(
View
view
){
Intent
intent
=
new
Intent
(
this
,
CheckoutScreen
.
class
);
startActivity
(
intent
);
}
public
void
CogwheelsTurning
(
View
view
){
public
void
CogwheelsTurning
(
View
view
){
Intent
intent
=
new
Intent
(
this
,
Settings
.
class
);
Intent
intent
=
new
Intent
(
this
,
Settings
.
class
);
startActivity
(
intent
);
startActivity
(
intent
);
...
...
app/src/main/java/com/example/summative_chris_crook/UserMenu.java
View file @
19f077f9
...
@@ -108,4 +108,9 @@ public class UserMenu extends AppCompatActivity {
...
@@ -108,4 +108,9 @@ public class UserMenu extends AppCompatActivity {
Intent
intent
=
new
Intent
(
this
,
Settings
.
class
);
Intent
intent
=
new
Intent
(
this
,
Settings
.
class
);
startActivity
(
intent
);
startActivity
(
intent
);
}
}
public
void
SelfServiceMode
(
View
view
){
Intent
intent
=
new
Intent
(
this
,
MainShopPage
.
class
);
startActivity
(
intent
);
}
}
}
\ No newline at end of file
app/src/main/res/layout/activity_admin_menu.xml
View file @
19f077f9
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
android:id=
"@+id/button17"
android:id=
"@+id/button17"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:onClick=
"SelfServiceMode"
android:text=
"Cart and Checkout"
/>
android:text=
"Cart and Checkout"
/>
<Button
<Button
...
@@ -87,7 +88,7 @@
...
@@ -87,7 +88,7 @@
<Button
<Button
android:id=
"@+id/button43"
android:id=
"@+id/button43"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"
wrap_content
"
android:layout_height=
"
0dp
"
android:onClick=
"ShutItAllDown"
/>
android:onClick=
"ShutItAllDown"
/>
</LinearLayout>
</LinearLayout>
...
...
app/src/main/res/layout/activity_user_menu.xml
View file @
19f077f9
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
android:id=
"@+id/button20"
android:id=
"@+id/button20"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:onClick=
"SelfServiceMode"
android:text=
"Cart and Checkout"
/>
android:text=
"Cart and Checkout"
/>
<Button
<Button
...
...
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