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
25849d59
Commit
25849d59
authored
Apr 26, 2021
by
chris.crook
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
> bigboi 6 (The Undiscovered Country)
parent
ed8481ce
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
163 additions
and
83 deletions
+163
-83
LanguageSelect.java
...ava/com/example/summative_chris_crook/LanguageSelect.java
+3
-3
activity_admin_menu.xml
app/src/main/res/layout/activity_admin_menu.xml
+16
-8
activity_admin_register.xml
app/src/main/res/layout/activity_admin_register.xml
+22
-11
activity_booking_details.xml
app/src/main/res/layout/activity_booking_details.xml
+10
-5
activity_buy_screen.xml
app/src/main/res/layout/activity_buy_screen.xml
+5
-2
activity_checkout_screen.xml
app/src/main/res/layout/activity_checkout_screen.xml
+10
-5
activity_currency_select.xml
app/src/main/res/layout/activity_currency_select.xml
+10
-5
activity_language_select.xml
app/src/main/res/layout/activity_language_select.xml
+10
-5
activity_main.xml
app/src/main/res/layout/activity_main.xml
+4
-2
activity_main_booking_page.xml
app/src/main/res/layout/activity_main_booking_page.xml
+6
-3
activity_main_shop_page.xml
app/src/main/res/layout/activity_main_shop_page.xml
+6
-3
activity_password_settings.xml
app/src/main/res/layout/activity_password_settings.xml
+2
-1
activity_register_page.xml
app/src/main/res/layout/activity_register_page.xml
+20
-10
activity_settings.xml
app/src/main/res/layout/activity_settings.xml
+6
-3
activity_shop_details.xml
app/src/main/res/layout/activity_shop_details.xml
+23
-12
activity_user_menu.xml
app/src/main/res/layout/activity_user_menu.xml
+10
-5
No files found.
app/src/main/java/com/example/summative_chris_crook/LanguageSelect.java
View file @
25849d59
...
...
@@ -96,7 +96,7 @@ public class LanguageSelect extends AppCompatActivity {
while
(
reader
.
hasNextLine
()){
temp
=
temp
+
reader
.
nextLine
();
}
Toast
.
makeText
(
getApplicationContext
(),
temp
+
" "
,
Toast
.
LENGTH_LONG
).
show
();
//
Toast.makeText(getApplicationContext(), temp + " ", Toast.LENGTH_LONG).show();
return
temp
;
}
catch
(
Exception
e
){
Toast
.
makeText
(
getApplicationContext
(),
"read error"
,
Toast
.
LENGTH_LONG
).
show
();
...
...
@@ -166,7 +166,7 @@ public class LanguageSelect extends AppCompatActivity {
while
(
reader
.
hasNextLine
()){
temp
=
temp
+
reader
.
nextLine
();
}
Toast
.
makeText
(
getApplicationContext
(),
temp
+
" "
,
Toast
.
LENGTH_LONG
).
show
();
//
Toast.makeText(getApplicationContext(), temp + " ", Toast.LENGTH_LONG).show();
}
catch
(
Exception
e
){
Toast
.
makeText
(
getApplicationContext
(),
"read error"
,
Toast
.
LENGTH_LONG
).
show
();
}
...
...
@@ -302,7 +302,7 @@ public class LanguageSelect extends AppCompatActivity {
while
(
reader
.
hasNextLine
()){
temp
=
temp
+
reader
.
nextLine
();
}
Toast
.
makeText
(
getApplicationContext
(),
temp
+
" "
,
Toast
.
LENGTH_LONG
).
show
();
//
Toast.makeText(getApplicationContext(), temp + " ", Toast.LENGTH_LONG).show();
}
catch
(
Exception
e
){
Toast
.
makeText
(
getApplicationContext
(),
"read error"
,
Toast
.
LENGTH_LONG
).
show
();
}
...
...
app/src/main/res/layout/activity_admin_menu.xml
View file @
25849d59
...
...
@@ -22,35 +22,40 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"goback"
android:text=
"Log Out"
/>
android:text=
"Log Out"
app:rippleColor=
"#f00"
/>
<Button
android:id=
"@+id/button15"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"tobookings"
android:text=
"Bookings"
/>
android:text=
"Bookings"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button16"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"toshop"
android:text=
"Shop"
/>
android:text=
"Shop"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button17"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"SelfServiceMode"
android:text=
"Cart and Checkout"
/>
android:text=
"Cart and Checkout"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button24"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"CogwheelsTurning"
android:text=
"Settings"
/>
android:text=
"Settings"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button22"
...
...
@@ -69,21 +74,24 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"wipealldialogboxopen"
android:text=
"Reset App"
/>
android:text=
"Reset App"
app:rippleColor=
"#f00"
/>
<Button
android:id=
"@+id/button9"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"displaythemagicwords"
android:text=
"Display all avaliable logins"
/>
android:text=
"Display all avaliable logins"
app:rippleColor=
"#ff0"
/>
<Button
android:id=
"@+id/button13"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"register2electricboogaloo"
android:text=
"Register page (admin)"
/>
android:text=
"Register page (admin)"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button43"
...
...
app/src/main/res/layout/activity_admin_register.xml
View file @
25849d59
...
...
@@ -22,7 +22,8 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"goback"
android:text=
"Back to Admin menu"
/>
android:text=
"Back to Admin menu"
app:rippleColor=
"#ff0"
/>
<TextView
android:id=
"@+id/textView10"
...
...
@@ -93,7 +94,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"seteng"
android:text=
"ENG"
/>
android:text=
"ENG"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button74"
...
...
@@ -101,7 +103,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"setfr"
android:text=
"FR"
/>
android:text=
"FR"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button75"
...
...
@@ -109,7 +112,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"setesp"
android:text=
"ESP"
/>
android:text=
"ESP"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button76"
...
...
@@ -117,7 +121,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"setde"
android:text=
"DE"
/>
android:text=
"DE"
app:rippleColor=
"#0f0"
/>
</LinearLayout>
<TextView
...
...
@@ -155,7 +160,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"setGBP"
android:text=
"GBP (£)"
/>
android:text=
"GBP (£)"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button78"
...
...
@@ -163,7 +169,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"setEUR"
android:text=
"Euro (€)"
/>
android:text=
"Euro (€)"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button79"
...
...
@@ -171,7 +178,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"setUSD"
android:text=
"USD ($)"
/>
android:text=
"USD ($)"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button80"
...
...
@@ -179,7 +187,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"setHKD"
android:text=
"HKD ($)"
/>
android:text=
"HKD ($)"
app:rippleColor=
"#0f0"
/>
</LinearLayout>
<Button
...
...
@@ -187,14 +196,16 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"createuser"
android:text=
"Create User Account"
/>
android:text=
"Create User Account"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button12"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"createadmin"
android:text=
"Create Admin Account"
/>
android:text=
"Create Admin Account"
app:rippleColor=
"#0f0"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_booking_details.xml
View file @
25849d59
...
...
@@ -24,35 +24,40 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"goback"
android:text=
"Back"
/>
android:text=
"Back"
app:rippleColor=
"#f00"
/>
<Button
android:id=
"@+id/button57"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"timeslot1"
android:text=
"9:00-11:00"
/>
android:text=
"9:00-11:00"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button58"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"timeslot2"
android:text=
"11:00-13:00"
/>
android:text=
"11:00-13:00"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button59"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"timeslot3"
android:text=
"13:00-15:00"
/>
android:text=
"13:00-15:00"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button60"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"timeslot4"
android:text=
"15:00-17:00"
/>
android:text=
"15:00-17:00"
app:rippleColor=
"#0f0"
/>
<EditText
android:id=
"@+id/YEET2"
...
...
app/src/main/res/layout/activity_buy_screen.xml
View file @
25849d59
...
...
@@ -21,7 +21,9 @@
android:id=
"@+id/button111"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"Back"
/>
android:onClick=
"goback"
android:text=
"Back"
app:rippleColor=
"#f00"
/>
<TextView
android:id=
"@+id/textView36"
...
...
@@ -40,7 +42,8 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"YouWillPayForWhatYouHaveDone"
android:text=
"Pay"
/>
android:text=
"Pay"
app:rippleColor=
"#0f0"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_checkout_screen.xml
View file @
25849d59
...
...
@@ -25,35 +25,40 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"gobackfromtheshop"
android:text=
"Menu"
/>
android:text=
"Menu"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button63"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"tobookings"
android:text=
"Booking"
/>
android:text=
"Booking"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button64"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"toshop"
android:text=
"Shop"
/>
android:text=
"Shop"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button81"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"IThrewItOnTheGround"
android:text=
"Clear Basket"
/>
android:text=
"Clear Basket"
app:rippleColor=
"#f00"
/>
<Button
android:id=
"@+id/button82"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"ChaChing"
android:text=
"Buy"
/>
android:text=
"Buy"
app:rippleColor=
"#0f0"
/>
<EditText
android:id=
"@+id/outputcheckout"
...
...
app/src/main/res/layout/activity_currency_select.xml
View file @
25849d59
...
...
@@ -24,34 +24,39 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"goback"
android:text=
"Back"
/>
android:text=
"Back"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button38"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"PoundMe"
android:text=
"GBP (£)"
/>
android:text=
"GBP (£)"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button39"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"EuroVision"
android:text=
"Euro (€)"
/>
android:text=
"Euro (€)"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button40"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"ThisIsAmerica"
android:text=
"USD ($)"
/>
android:text=
"USD ($)"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button41"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"BestDisneyland"
android:text=
"HKD ($)"
/>
android:text=
"HKD ($)"
app:rippleColor=
"#0f0"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_language_select.xml
View file @
25849d59
...
...
@@ -22,34 +22,39 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"goback"
android:text=
"Back"
/>
android:text=
"Back"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button32"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"EnglandIsMyCity"
android:text=
"ENG"
/>
android:text=
"ENG"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button33"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"WhiteFlagsAgain"
android:text=
"FRA"
/>
android:text=
"FRA"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button34"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"TortillasAreBeMySecondFavoriteFood"
android:text=
"ESP"
/>
android:text=
"ESP"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button37"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"MoreReliableThanATigerII"
android:text=
"DEU"
/>
android:text=
"DEU"
app:rippleColor=
"#0f0"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_main.xml
View file @
25849d59
...
...
@@ -41,14 +41,16 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"testlogin"
android:text=
"Log In"
/>
android:text=
"Log In"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button2"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"navigate"
android:text=
"register"
/>
android:text=
"register"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button10"
...
...
app/src/main/res/layout/activity_main_booking_page.xml
View file @
25849d59
...
...
@@ -25,7 +25,8 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"gobackfromtheshop"
android:text=
"Back"
/>
android:text=
"Back"
app:rippleColor=
"#0ff"
/>
<TextView
android:id=
"@+id/textView21"
...
...
@@ -325,14 +326,16 @@
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:onClick=
"tocart"
android:text=
"cart"
/>
android:text=
"cart"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button56"
android:layout_width=
"199dp"
android:layout_height=
"match_parent"
android:onClick=
"toshop"
android:text=
"shop"
/>
android:text=
"shop"
app:rippleColor=
"#0ff"
/>
</LinearLayout>
...
...
app/src/main/res/layout/activity_main_shop_page.xml
View file @
25849d59
...
...
@@ -22,7 +22,8 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"goback"
android:text=
"Back"
/>
android:text=
"Back"
app:rippleColor=
"#0ff"
/>
<TextView
android:id=
"@+id/textView30"
...
...
@@ -378,7 +379,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"tocart"
android:text=
"Cart"
/>
android:text=
"Cart"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button100"
...
...
@@ -386,7 +388,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"tobooking"
android:text=
"Booking"
/>
android:text=
"Booking"
app:rippleColor=
"#0ff"
/>
</LinearLayout>
</LinearLayout>
...
...
app/src/main/res/layout/activity_password_settings.xml
View file @
25849d59
...
...
@@ -24,6 +24,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"goback"
android:text=
"Back"
/>
android:text=
"Back"
app:rippleColor=
"#fff"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_register_page.xml
View file @
25849d59
...
...
@@ -22,7 +22,8 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"goback"
android:text=
"Log in page"
/>
android:text=
"Log in page"
app:rippleColor=
"#0ff"
/>
<TextView
android:id=
"@+id/textView5"
...
...
@@ -93,7 +94,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"seteng"
android:text=
"ENG"
/>
android:text=
"ENG"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button66"
...
...
@@ -101,7 +103,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"setfr"
android:text=
"FR"
/>
android:text=
"FR"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button67"
...
...
@@ -109,7 +112,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"setesp"
android:text=
"ESP"
/>
android:text=
"ESP"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button68"
...
...
@@ -117,7 +121,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"setde"
android:text=
"DE"
/>
android:text=
"DE"
app:rippleColor=
"#0f0"
/>
</LinearLayout>
<TextView
...
...
@@ -137,7 +142,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"setGBP"
android:text=
"GBP (£)"
/>
android:text=
"GBP (£)"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button70"
...
...
@@ -145,7 +151,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"setEUR"
android:text=
"Euro (€)"
/>
android:text=
"Euro (€)"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button71"
...
...
@@ -153,7 +160,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"setUSD"
android:text=
"USD ($)"
/>
android:text=
"USD ($)"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button72"
...
...
@@ -161,7 +169,8 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"setHKD"
android:text=
"HKD ($)"
/>
android:text=
"HKD ($)"
app:rippleColor=
"#0f0"
/>
</LinearLayout>
<EditText
...
...
@@ -185,7 +194,8 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"createuser"
android:text=
"Create User Account"
/>
android:text=
"Create User Account"
app:rippleColor=
"#0f0"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_settings.xml
View file @
25849d59
...
...
@@ -24,21 +24,24 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"gobackfromtheshop"
android:text=
"Button"
/>
android:text=
"Button"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button27"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"LanguageMrStark"
android:text=
"Button"
/>
android:text=
"Button"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button28"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"HK$IsntWorthless"
android:text=
"Button"
/>
android:text=
"Button"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button29"
...
...
app/src/main/res/layout/activity_shop_details.xml
View file @
25849d59
...
...
@@ -22,7 +22,8 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"goback"
android:text=
"Button"
/>
android:text=
"Button"
app:rippleColor=
"#ff0"
/>
<TextView
android:id=
"@+id/textView33"
...
...
@@ -34,7 +35,7 @@
android:id=
"@+id/textView34"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"Select alocation to pick up:"
/>
android:text=
"Select a
location to pick up:"
/>
<EditText
android:id=
"@+id/YEET3"
...
...
@@ -49,69 +50,79 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"loovie"
android:text=
"Louvre"
/>
android:text=
"Louvre"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button102"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"NMOC"
android:text=
"National Museum Of China"
/>
android:text=
"National Museum Of China"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button103"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"VM"
android:text=
"Vatican Museums"
/>
android:text=
"Vatican Museums"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button104"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"MMOA"
android:text=
"Metropolitan Museum Of Art"
/>
android:text=
"Metropolitan Museum Of Art"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button105"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"BM"
android:text=
"British Museum"
/>
android:text=
"British Museum"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button106"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"TM"
android:text=
"Tate Modern"
/>
android:text=
"Tate Modern"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button107"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"NG"
android:text=
"National Gallery"
/>
android:text=
"National Gallery"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button108"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"NHM"
android:text=
"Natural History Museum"
/>
android:text=
"Natural History Museum"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button109"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"AMONH"
android:text=
"American Museum Of Natural History"
/>
android:text=
"American Museum Of Natural History"
app:rippleColor=
"#0f0"
/>
<Button
android:id=
"@+id/button110"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"SHM"
android:text=
"State Hermatige Museum"
/>
android:text=
"State Hermatige Museum"
app:rippleColor=
"#0f0"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_user_menu.xml
View file @
25849d59
...
...
@@ -22,35 +22,40 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"goback"
android:text=
"Log Out"
/>
android:text=
"Log Out"
app:rippleColor=
"#f00"
/>
<Button
android:id=
"@+id/button18"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"tobookings"
android:text=
"Bookings"
/>
android:text=
"Bookings"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button19"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"toshop"
android:text=
"Shop"
/>
android:text=
"Shop"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button20"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"SelfServiceMode"
android:text=
"Cart and Checkout"
/>
android:text=
"Cart and Checkout"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button23"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:onClick=
"CogwheelsTurning"
android:text=
"Settings"
/>
android:text=
"Settings"
app:rippleColor=
"#0ff"
/>
<Button
android:id=
"@+id/button21"
...
...
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