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
ed8481ce
Commit
ed8481ce
authored
Apr 24, 2021
by
chris.crook
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
> bigboi V (The Final Frontier)
parent
3a8cf41a
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
13 deletions
+13
-13
BookingDetails.java
...ava/com/example/summative_chris_crook/BookingDetails.java
+1
-1
MainShopPage.java
.../java/com/example/summative_chris_crook/MainShopPage.java
+5
-5
ShopDetails.java
...n/java/com/example/summative_chris_crook/ShopDetails.java
+1
-1
UserMenu.java
...main/java/com/example/summative_chris_crook/UserMenu.java
+1
-1
activity_admin_menu.xml
app/src/main/res/layout/activity_admin_menu.xml
+1
-1
activity_main_shop_page.xml
app/src/main/res/layout/activity_main_shop_page.xml
+1
-1
activity_settings.xml
app/src/main/res/layout/activity_settings.xml
+2
-2
activity_user_menu.xml
app/src/main/res/layout/activity_user_menu.xml
+1
-1
No files found.
app/src/main/java/com/example/summative_chris_crook/BookingDetails.java
View file @
ed8481ce
...
...
@@ -58,7 +58,7 @@ public class BookingDetails extends AppCompatActivity {
String
title
;
for
(
int
i
=
0
;
i
<
temploadarray
.
length
;
i
++){
Toast
.
makeText
(
getApplicationContext
(),
temploadarray
[
i
]
,
Toast
.
LENGTH_LONG
).
show
();
//
Toast.makeText(getApplicationContext(), temploadarray [i] , Toast.LENGTH_LONG).show();
}
...
...
app/src/main/java/com/example/summative_chris_crook/MainShopPage.java
View file @
ed8481ce
...
...
@@ -38,23 +38,23 @@ public class MainShopPage extends AppCompatActivity {
String
[]
temploadarray
=
temp
.
split
(
"&"
);
if
(
temploadarray
[
4
].
equals
(
"ENG"
)){
Toast
.
makeText
(
getApplicationContext
(),
temploadarray
[
4
],
Toast
.
LENGTH_LONG
).
show
();
//
Toast.makeText(getApplicationContext(), temploadarray [4], Toast.LENGTH_LONG).show();
((
Button
)
findViewById
(
R
.
id
.
button26
)).
setText
(
"Back"
);
}
else
if
(
temploadarray
[
4
].
equals
(
"FRA"
)){
Toast
.
makeText
(
getApplicationContext
(),
temploadarray
[
4
],
Toast
.
LENGTH_LONG
).
show
();
//
Toast.makeText(getApplicationContext(), temploadarray [4], Toast.LENGTH_LONG).show();
((
Button
)
findViewById
(
R
.
id
.
button26
)).
setText
(
"de retour"
);
}
else
if
(
temploadarray
[
4
].
equals
(
"ESP"
)){
Toast
.
makeText
(
getApplicationContext
(),
temploadarray
[
4
],
Toast
.
LENGTH_LONG
).
show
();
//
Toast.makeText(getApplicationContext(), temploadarray [4], Toast.LENGTH_LONG).show();
((
Button
)
findViewById
(
R
.
id
.
button26
)).
setText
(
"espalda"
);
}
else
if
(
temploadarray
[
4
].
equals
(
"DEU"
)){
Toast
.
makeText
(
getApplicationContext
(),
temploadarray
[
4
],
Toast
.
LENGTH_LONG
).
show
();
//
Toast.makeText(getApplicationContext(), temploadarray [4], Toast.LENGTH_LONG).show();
((
Button
)
findViewById
(
R
.
id
.
button26
)).
setText
(
"rückseite"
);
}
else
{
Toast
.
makeText
(
getApplicationContext
(),
temploadarray
[
4
],
Toast
.
LENGTH_LONG
).
show
();
//
Toast.makeText(getApplicationContext(), temploadarray [4], Toast.LENGTH_LONG).show();
((
Button
)
findViewById
(
R
.
id
.
button26
)).
setText
(
"Back (something broke)"
);
}
}
...
...
app/src/main/java/com/example/summative_chris_crook/ShopDetails.java
View file @
ed8481ce
...
...
@@ -56,7 +56,7 @@ public class ShopDetails extends AppCompatActivity {
String
title
;
for
(
int
i
=
0
;
i
<
temploadarray
.
length
;
i
++){
Toast
.
makeText
(
getApplicationContext
(),
temploadarray
[
i
]
,
Toast
.
LENGTH_LONG
).
show
();
//
Toast.makeText(getApplicationContext(), temploadarray [i] , Toast.LENGTH_LONG).show();
}
...
...
app/src/main/java/com/example/summative_chris_crook/UserMenu.java
View file @
ed8481ce
...
...
@@ -124,7 +124,7 @@ public class UserMenu extends AppCompatActivity {
}
public
void
SelfServiceMode
(
View
view
){
Intent
intent
=
new
Intent
(
this
,
MainShopPage
.
class
);
Intent
intent
=
new
Intent
(
this
,
CheckoutScreen
.
class
);
startActivity
(
intent
);
}
}
\ No newline at end of file
app/src/main/res/layout/activity_admin_menu.xml
View file @
ed8481ce
...
...
@@ -55,7 +55,7 @@
<Button
android:id=
"@+id/button22"
android:layout_width=
"match_parent"
android:layout_height=
"
wrap_content
"
android:layout_height=
"
0px
"
android:text=
"Delete Account"
/>
<TextView
...
...
app/src/main/res/layout/activity_main_shop_page.xml
View file @
ed8481ce
...
...
@@ -386,7 +386,7 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"tobooking"
android:text=
"
Shop
"
/>
android:text=
"
Booking
"
/>
</LinearLayout>
</LinearLayout>
...
...
app/src/main/res/layout/activity_settings.xml
View file @
ed8481ce
...
...
@@ -43,14 +43,14 @@
<Button
android:id=
"@+id/button29"
android:layout_width=
"match_parent"
android:layout_height=
"
wrap_content
"
android:layout_height=
"
0px
"
android:onClick=
"WhatWasItAgain"
android:text=
"Button"
/>
<Button
android:id=
"@+id/button30"
android:layout_width=
"match_parent"
android:layout_height=
"
wrap_content
"
android:layout_height=
"
0px
"
android:text=
"Button"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_user_menu.xml
View file @
ed8481ce
...
...
@@ -55,7 +55,7 @@
<Button
android:id=
"@+id/button21"
android:layout_width=
"match_parent"
android:layout_height=
"
wrap_content
"
android:layout_height=
"
0px
"
android:text=
"Delete account"
/>
</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