Commit 25849d59 authored by chris.crook's avatar chris.crook

> bigboi 6 (The Undiscovered Country)

parent ed8481ce
......@@ -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();
}
......
......@@ -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"
......
......@@ -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
......@@ -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"
......
......@@ -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
......@@ -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"
......
......@@ -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
......@@ -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
......@@ -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"
......
......@@ -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>
......
......@@ -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>
......
......@@ -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
......@@ -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
......@@ -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"
......
......@@ -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
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment