Commit ed8481ce authored by chris.crook's avatar chris.crook

> bigboi V (The Final Frontier)

parent 3a8cf41a
...@@ -58,7 +58,7 @@ public class BookingDetails extends AppCompatActivity { ...@@ -58,7 +58,7 @@ public class BookingDetails extends AppCompatActivity {
String title; String title;
for (int i = 0; i < temploadarray.length; i++){ 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();
} }
......
...@@ -38,23 +38,23 @@ public class MainShopPage extends AppCompatActivity { ...@@ -38,23 +38,23 @@ public class MainShopPage extends AppCompatActivity {
String [] temploadarray = temp.split("&"); String [] temploadarray = temp.split("&");
if (temploadarray [4].equals("ENG")){ 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"); ((Button)findViewById(R.id.button26)).setText("Back");
} }
else if (temploadarray [4].equals("FRA")){ 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"); ((Button)findViewById(R.id.button26)).setText("de retour");
} }
else if (temploadarray [4].equals("ESP")){ 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"); ((Button)findViewById(R.id.button26)).setText("espalda");
} }
else if (temploadarray [4].equals("DEU")){ 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"); ((Button)findViewById(R.id.button26)).setText("rückseite");
} }
else{ 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)"); ((Button)findViewById(R.id.button26)).setText("Back (something broke)");
} }
} }
......
...@@ -56,7 +56,7 @@ public class ShopDetails extends AppCompatActivity { ...@@ -56,7 +56,7 @@ public class ShopDetails extends AppCompatActivity {
String title; String title;
for (int i = 0; i < temploadarray.length; i++){ 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();
} }
......
...@@ -124,7 +124,7 @@ public class UserMenu extends AppCompatActivity { ...@@ -124,7 +124,7 @@ public class UserMenu extends AppCompatActivity {
} }
public void SelfServiceMode (View view){ public void SelfServiceMode (View view){
Intent intent = new Intent(this,MainShopPage.class); Intent intent = new Intent(this,CheckoutScreen.class);
startActivity(intent); startActivity(intent);
} }
} }
\ No newline at end of file
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
<Button <Button
android:id="@+id/button22" android:id="@+id/button22"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="0px"
android:text="Delete Account" /> android:text="Delete Account" />
<TextView <TextView
......
...@@ -386,7 +386,7 @@ ...@@ -386,7 +386,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:onClick="tobooking" android:onClick="tobooking"
android:text="Shop" /> android:text="Booking" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
......
...@@ -43,14 +43,14 @@ ...@@ -43,14 +43,14 @@
<Button <Button
android:id="@+id/button29" android:id="@+id/button29"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="0px"
android:onClick="WhatWasItAgain" android:onClick="WhatWasItAgain"
android:text="Button" /> android:text="Button" />
<Button <Button
android:id="@+id/button30" android:id="@+id/button30"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="0px"
android:text="Button" /> android:text="Button" />
</LinearLayout> </LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
<Button <Button
android:id="@+id/button21" android:id="@+id/button21"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="0px"
android:text="Delete account" /> android:text="Delete account" />
</LinearLayout> </LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
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