Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Summative_Oliver_Warrilow
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
oliver.warrilow
Summative_Oliver_Warrilow
Commits
0a13ff17
Commit
0a13ff17
authored
Aug 06, 2021
by
oliver.warrilow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved - added registration with database, displaying of the order, and updated design
parent
e56689f6
Changes
30
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
1043 additions
and
1704 deletions
+1043
-1704
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+4
-2
AMNHPage.java
app/src/main/java/com/example/worldmuseums/AMNHPage.java
+26
-0
BookingPage.java
app/src/main/java/com/example/worldmuseums/BookingPage.java
+14
-0
BritishPage.java
app/src/main/java/com/example/worldmuseums/BritishPage.java
+13
-1
ChinaPage.java
app/src/main/java/com/example/worldmuseums/ChinaPage.java
+26
-0
DBHelper.java
app/src/main/java/com/example/worldmuseums/DBHelper.java
+57
-0
HistPage.java
app/src/main/java/com/example/worldmuseums/HistPage.java
+26
-0
LouvrePage.java
app/src/main/java/com/example/worldmuseums/LouvrePage.java
+13
-3
MainLogin.java
app/src/main/java/com/example/worldmuseums/MainLogin.java
+62
-0
MetPage.java
app/src/main/java/com/example/worldmuseums/MetPage.java
+26
-0
NatGalPage.java
app/src/main/java/com/example/worldmuseums/NatGalPage.java
+26
-0
RefreshmentsPage.java
.../main/java/com/example/worldmuseums/RefreshmentsPage.java
+29
-0
RegisterPage.java
app/src/main/java/com/example/worldmuseums/RegisterPage.java
+71
-0
StatePage.java
app/src/main/java/com/example/worldmuseums/StatePage.java
+26
-0
TatePage.java
app/src/main/java/com/example/worldmuseums/TatePage.java
+26
-0
VatPage.java
app/src/main/java/com/example/worldmuseums/VatPage.java
+27
-0
activity_a_m_n_h_page.xml
app/src/main/res/layout/activity_a_m_n_h_page.xml
+16
-169
activity_booking_page.xml
app/src/main/res/layout/activity_booking_page.xml
+37
-5
activity_british_page.xml
app/src/main/res/layout/activity_british_page.xml
+16
-169
activity_china_page.xml
app/src/main/res/layout/activity_china_page.xml
+16
-169
activity_hist_page.xml
app/src/main/res/layout/activity_hist_page.xml
+16
-169
activity_login.xml
app/src/main/res/layout/activity_login.xml
+2
-2
activity_louvre_page.xml
app/src/main/res/layout/activity_louvre_page.xml
+16
-169
activity_met_page.xml
app/src/main/res/layout/activity_met_page.xml
+16
-170
activity_nat_gal_page.xml
app/src/main/res/layout/activity_nat_gal_page.xml
+16
-169
activity_refreshments_page.xml
app/src/main/res/layout/activity_refreshments_page.xml
+217
-0
activity_register_page.xml
app/src/main/res/layout/activity_register_page.xml
+155
-0
activity_state_page.xml
app/src/main/res/layout/activity_state_page.xml
+16
-169
activity_tate_page.xml
app/src/main/res/layout/activity_tate_page.xml
+16
-169
activity_vat_page.xml
app/src/main/res/layout/activity_vat_page.xml
+16
-169
No files found.
app/src/main/AndroidManifest.xml
View file @
0a13ff17
...
@@ -9,7 +9,8 @@
...
@@ -9,7 +9,8 @@
android:roundIcon=
"@mipmap/ic_launcher_round"
android:roundIcon=
"@mipmap/ic_launcher_round"
android:supportsRtl=
"true"
android:supportsRtl=
"true"
android:theme=
"@style/Theme.WorldMuseums"
>
android:theme=
"@style/Theme.WorldMuseums"
>
<activity
android:name=
".StatePage"
></activity>
<activity
android:name=
".RefreshmentsPage"
></activity>
<activity
android:name=
".StatePage"
/>
<activity
android:name=
".AMNHPage"
/>
<activity
android:name=
".AMNHPage"
/>
<activity
android:name=
".HistPage"
/>
<activity
android:name=
".HistPage"
/>
<activity
android:name=
".NatGalPage"
/>
<activity
android:name=
".NatGalPage"
/>
...
@@ -21,7 +22,8 @@
...
@@ -21,7 +22,8 @@
<activity
android:name=
".BookingPage"
/>
<activity
android:name=
".BookingPage"
/>
<activity
android:name=
".LouvrePage"
/>
<activity
android:name=
".LouvrePage"
/>
<activity
android:name=
".MuseumHomePage"
/>
<activity
android:name=
".MuseumHomePage"
/>
<activity
android:name=
".MainActivity"
>
<activity
android:name=
".MainLogin"
/>
<activity
android:name=
".RegisterPage"
>
<intent-filter>
<intent-filter>
<action
android:name=
"android.intent.action.MAIN"
/>
<action
android:name=
"android.intent.action.MAIN"
/>
...
...
app/src/main/java/com/example/worldmuseums/AMNHPage.java
View file @
0a13ff17
...
@@ -2,13 +2,39 @@ package com.example.worldmuseums;
...
@@ -2,13 +2,39 @@ package com.example.worldmuseums;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.view.View
;
import
android.widget.Button
;
public
class
AMNHPage
extends
AppCompatActivity
{
public
class
AMNHPage
extends
AppCompatActivity
{
private
Button
bookBtn
;
Button
svnBt
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_a_m_n_h_page
);
setContentView
(
R
.
layout
.
activity_a_m_n_h_page
);
bookBtn
=
findViewById
(
R
.
id
.
bookingButton
);
svnBt
=
findViewById
(
R
.
id
.
svButton
);
svnBt
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
startActivity
(
new
Intent
(
AMNHPage
.
this
,
RefreshmentsPage
.
class
));
}
});
bookBtn
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
Intent
intent
=
new
Intent
(
AMNHPage
.
this
,
BookingPage
.
class
);
intent
.
putExtra
(
"museum-name"
,
"American Museum of Natural History"
);
startActivity
(
intent
);
}
});
}
}
}
}
\ No newline at end of file
app/src/main/java/com/example/worldmuseums/BookingPage.java
View file @
0a13ff17
...
@@ -2,13 +2,27 @@ package com.example.worldmuseums;
...
@@ -2,13 +2,27 @@ package com.example.worldmuseums;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.widget.TextView
;
public
class
BookingPage
extends
AppCompatActivity
{
public
class
BookingPage
extends
AppCompatActivity
{
TextView
muTitle
,
exTitle
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_booking_page
);
setContentView
(
R
.
layout
.
activity_booking_page
);
Intent
secondIntent
=
getIntent
();
String
message
=
secondIntent
.
getStringExtra
(
"museum-name"
);
TextView
muTitle
=
findViewById
(
R
.
id
.
museumTitle
);
muTitle
.
setText
(
"Museum booked: "
+
message
+
""
);
Intent
checkRecIntent
=
getIntent
();
String
checkedmsg
=
checkRecIntent
.
getStringExtra
(
"checkbox_state"
);
TextView
exTitle
=
findViewById
(
R
.
id
.
extrasList
);
exTitle
.
setText
(
"Extras: "
+
checkedmsg
+
""
);
}
}
}
}
\ No newline at end of file
app/src/main/java/com/example/worldmuseums/BritishPage.java
View file @
0a13ff17
...
@@ -10,6 +10,7 @@ import android.widget.Button;
...
@@ -10,6 +10,7 @@ import android.widget.Button;
public
class
BritishPage
extends
AppCompatActivity
{
public
class
BritishPage
extends
AppCompatActivity
{
private
Button
bookbtn
;
private
Button
bookbtn
;
Button
svnBt
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
...
@@ -18,10 +19,21 @@ public class BritishPage extends AppCompatActivity {
...
@@ -18,10 +19,21 @@ public class BritishPage extends AppCompatActivity {
bookbtn
=
findViewById
(
R
.
id
.
bookingButton
);
bookbtn
=
findViewById
(
R
.
id
.
bookingButton
);
svnBt
=
findViewById
(
R
.
id
.
svButton
);
svnBt
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
startActivity
(
new
Intent
(
BritishPage
.
this
,
RefreshmentsPage
.
class
));
}
});
bookbtn
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
bookbtn
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
@Override
public
void
onClick
(
View
v
)
{
public
void
onClick
(
View
v
)
{
startActivity
(
new
Intent
(
BritishPage
.
this
,
BookingPage
.
class
));
Intent
intent
=
new
Intent
(
BritishPage
.
this
,
BookingPage
.
class
);
intent
.
putExtra
(
"museum-name"
,
"British Museum"
);
startActivity
(
intent
);
}
}
});
});
...
...
app/src/main/java/com/example/worldmuseums/ChinaPage.java
View file @
0a13ff17
...
@@ -3,13 +3,39 @@ package com.example.worldmuseums;
...
@@ -3,13 +3,39 @@ package com.example.worldmuseums;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.view.View
;
import
android.widget.Button
;
public
class
ChinaPage
extends
AppCompatActivity
{
public
class
ChinaPage
extends
AppCompatActivity
{
private
Button
bookBtn
;
Button
svnBt
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_china_page
);
setContentView
(
R
.
layout
.
activity_china_page
);
bookBtn
=
findViewById
(
R
.
id
.
bookingButton
);
svnBt
=
findViewById
(
R
.
id
.
svButton
);
svnBt
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
startActivity
(
new
Intent
(
ChinaPage
.
this
,
RefreshmentsPage
.
class
));
}
});
bookBtn
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
Intent
intent
=
new
Intent
(
ChinaPage
.
this
,
BookingPage
.
class
);
intent
.
putExtra
(
"museum-name"
,
"National Museum of China"
);
startActivity
(
intent
);
}
});
}
}
}
}
\ No newline at end of file
app/src/main/java/com/example/worldmuseums/DBHelper.java
0 → 100644
View file @
0a13ff17
package
com
.
example
.
worldmuseums
;
import
android.content.ContentValues
;
import
android.content.Context
;
import
android.database.Cursor
;
import
android.database.sqlite.SQLiteDatabase
;
import
android.database.sqlite.SQLiteOpenHelper
;
import
androidx.annotation.Nullable
;
public
class
DBHelper
extends
SQLiteOpenHelper
{
public
static
final
String
DBNAME
=
"Login.db"
;
public
DBHelper
(
Context
context
)
{
super
(
context
,
"Login.db"
,
null
,
1
);
}
@Override
public
void
onCreate
(
SQLiteDatabase
MyDB
)
{
MyDB
.
execSQL
(
"create Table users(username TEXT primary key, password TEXT)"
);
}
@Override
public
void
onUpgrade
(
SQLiteDatabase
MyDB
,
int
i
,
int
i1
)
{
MyDB
.
execSQL
(
"drop Table if exists users"
);
}
public
Boolean
insertData
(
String
username
,
String
password
)
{
SQLiteDatabase
MyDB
=
this
.
getWritableDatabase
();
ContentValues
contentValues
=
new
ContentValues
();
contentValues
.
put
(
"username"
,
username
);
contentValues
.
put
(
"password"
,
password
);
long
result
=
MyDB
.
insert
(
"users"
,
null
,
contentValues
);
if
(
result
==
-
1
)
return
false
;
else
return
true
;
}
public
Boolean
checkusername
(
String
username
)
{
SQLiteDatabase
MyDB
=
this
.
getWritableDatabase
();
Cursor
cursor
=
MyDB
.
rawQuery
(
"Select * from users where username = ?"
,
new
String
[]{
username
});
if
(
cursor
.
getCount
()
>
0
)
return
true
;
else
return
false
;
}
public
Boolean
checkusernamepassword
(
String
username
,
String
password
)
{
SQLiteDatabase
MyDB
=
this
.
getWritableDatabase
();
Cursor
cursor
=
MyDB
.
rawQuery
(
"Select * from users where username = ? and password = ?"
,
new
String
[]
{
username
,
password
});
if
(
cursor
.
getCount
()>
0
)
return
true
;
else
return
false
;
}
}
app/src/main/java/com/example/worldmuseums/HistPage.java
View file @
0a13ff17
...
@@ -2,13 +2,39 @@ package com.example.worldmuseums;
...
@@ -2,13 +2,39 @@ package com.example.worldmuseums;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.view.View
;
import
android.widget.Button
;
public
class
HistPage
extends
AppCompatActivity
{
public
class
HistPage
extends
AppCompatActivity
{
private
Button
bookBtn
;
Button
svnBt
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_hist_page
);
setContentView
(
R
.
layout
.
activity_hist_page
);
bookBtn
=
findViewById
(
R
.
id
.
bookingButton
);
svnBt
=
findViewById
(
R
.
id
.
svButton
);
svnBt
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
startActivity
(
new
Intent
(
HistPage
.
this
,
RefreshmentsPage
.
class
));
}
});
bookBtn
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
Intent
intent
=
new
Intent
(
HistPage
.
this
,
BookingPage
.
class
);
intent
.
putExtra
(
"museum-name"
,
"Natural History Museum"
);
startActivity
(
intent
);
}
});
}
}
}
}
\ No newline at end of file
app/src/main/java/com/example/worldmuseums/LouvrePage.java
View file @
0a13ff17
package
com
.
example
.
worldmuseums
;
package
com
.
example
.
worldmuseums
;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.content.Intent
;
...
@@ -17,6 +15,8 @@ import java.util.List;
...
@@ -17,6 +15,8 @@ import java.util.List;
public
class
LouvrePage
extends
AppCompatActivity
{
public
class
LouvrePage
extends
AppCompatActivity
{
private
Button
bookBtn
;
private
Button
bookBtn
;
Button
svnBt
;
TextView
text
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
...
@@ -24,11 +24,21 @@ public class LouvrePage extends AppCompatActivity {
...
@@ -24,11 +24,21 @@ public class LouvrePage extends AppCompatActivity {
setContentView
(
R
.
layout
.
activity_louvre_page
);
setContentView
(
R
.
layout
.
activity_louvre_page
);
bookBtn
=
findViewById
(
R
.
id
.
bookingButton
);
bookBtn
=
findViewById
(
R
.
id
.
bookingButton
);
svnBt
=
findViewById
(
R
.
id
.
svButton
);
svnBt
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
startActivity
(
new
Intent
(
LouvrePage
.
this
,
RefreshmentsPage
.
class
));
}
});
bookBtn
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
bookBtn
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
@Override
public
void
onClick
(
View
v
)
{
public
void
onClick
(
View
v
)
{
startActivity
(
new
Intent
(
LouvrePage
.
this
,
BookingPage
.
class
));
Intent
intent
=
new
Intent
(
LouvrePage
.
this
,
BookingPage
.
class
);
intent
.
putExtra
(
"museum-name"
,
"The Louvre"
);
startActivity
(
intent
);
}
}
});
});
}
}
...
...
app/src/main/java/com/example/worldmuseums/Main
Activity
.java
→
app/src/main/java/com/example/worldmuseums/Main
Login
.java
View file @
0a13ff17
...
@@ -3,64 +3,60 @@ package com.example.worldmuseums;
...
@@ -3,64 +3,60 @@ package com.example.worldmuseums;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.content.Intent
;
import
android.net.Credentials
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.view.View
;
import
android.view.View
;
import
android.widget.Button
;
import
android.widget.Button
;
import
android.widget.EditText
;
import
android.widget.EditText
;
import
android.widget.TextView
;
import
android.widget.Toast
;
import
android.widget.Toast
;
public
class
Main
Activity
extends
AppCompatActivity
{
public
class
Main
Login
extends
AppCompatActivity
{
private
EditText
eName
;
private
EditText
eName
;
private
EditText
ePassword
;
private
EditText
ePassword
;
private
Button
eLogin
;
private
Button
eLogin
;
DBHelper
DB
;
String
userName
=
""
;
String
userPassword
=
""
;
String
name
=
"admin"
;
String
password
=
"admin"
;
boolean
isValid
=
false
;
boolean
isValid
=
false
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_
ma
in
);
setContentView
(
R
.
layout
.
activity_
log
in
);
eName
=
findViewById
(
R
.
id
.
etName
);
eName
=
findViewById
(
R
.
id
.
etName
);
ePassword
=
findViewById
(
R
.
id
.
etPass
);
ePassword
=
findViewById
(
R
.
id
.
etPass
);
eLogin
=
findViewById
(
R
.
id
.
btLogin
);
eLogin
=
findViewById
(
R
.
id
.
btLogin
);
DB
=
new
DBHelper
(
this
);
eLogin
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
eLogin
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
@Override
public
void
onClick
(
View
view
)
{
public
void
onClick
(
View
view
)
{
userName
=
eName
.
getText
().
toString
();
String
user
=
eName
.
getText
().
toString
();
userPassword
=
ePassword
.
getText
().
toString
();
String
pass
=
ePassword
.
getText
().
toString
();
if
(
userName
.
isEmpty
()
||
userPassword
.
isEmpty
())
{
if
(
user
.
isEmpty
()
||
pass
.
isEmpty
())
{
Toast
.
makeText
(
MainActivity
.
this
,
"Please enter a username and password."
,
Toast
.
LENGTH_LONG
).
show
();
Toast
.
makeText
(
MainLogin
.
this
,
"Please enter a username and password."
,
Toast
.
LENGTH_LONG
).
show
();
}
else
{
isValid
=
validate
(
userName
,
userPassword
);
if
(!
isValid
)
{
Toast
.
makeText
(
MainActivity
.
this
,
"Invalid login information."
,
Toast
.
LENGTH_SHORT
).
show
();
}
}
else
{
else
{
startActivity
(
new
Intent
(
MainActivity
.
this
,
MuseumHomePage
.
class
));
Boolean
checkuserpass
=
DB
.
checkusernamepassword
(
user
,
pass
);
if
(
checkuserpass
==
true
)
{
startActivity
(
new
Intent
(
MainLogin
.
this
,
MuseumHomePage
.
class
));
}
else
{
Toast
.
makeText
(
MainLogin
.
this
,
"Invalid login information."
,
Toast
.
LENGTH_SHORT
).
show
();
}
}
}
}
}
}
});
});
}
}
private
boolean
validate
(
String
userName
,
String
userPassword
)
{
//Toast.makeText(MainLogin.this, "Invalid login information.", Toast.LENGTH_SHORT).show();
/*private boolean validate(String userName, String userPassword) {
if(userName.equals(name) && userPassword.equals(password)) {
if(userName.equals(name) && userPassword.equals(password)) {
return true;
return true;
}
}
return false;
return false;
}
}
*/
}
}
\ No newline at end of file
app/src/main/java/com/example/worldmuseums/MetPage.java
View file @
0a13ff17
...
@@ -2,13 +2,39 @@ package com.example.worldmuseums;
...
@@ -2,13 +2,39 @@ package com.example.worldmuseums;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.view.View
;
import
android.widget.Button
;
public
class
MetPage
extends
AppCompatActivity
{
public
class
MetPage
extends
AppCompatActivity
{
private
Button
bookBtn
;
Button
svnBt
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_met_page
);
setContentView
(
R
.
layout
.
activity_met_page
);
bookBtn
=
findViewById
(
R
.
id
.
bookingButton
);
svnBt
=
findViewById
(
R
.
id
.
svButton
);
svnBt
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
startActivity
(
new
Intent
(
MetPage
.
this
,
RefreshmentsPage
.
class
));
}
});
bookBtn
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
Intent
intent
=
new
Intent
(
MetPage
.
this
,
BookingPage
.
class
);
intent
.
putExtra
(
"museum-name"
,
"Metropolitan Museum of art"
);
startActivity
(
intent
);
}
});
}
}
}
}
\ No newline at end of file
app/src/main/java/com/example/worldmuseums/NatGalPage.java
View file @
0a13ff17
...
@@ -2,13 +2,39 @@ package com.example.worldmuseums;
...
@@ -2,13 +2,39 @@ package com.example.worldmuseums;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.view.View
;
import
android.widget.Button
;
public
class
NatGalPage
extends
AppCompatActivity
{
public
class
NatGalPage
extends
AppCompatActivity
{
private
Button
bookBtn
;
Button
svnBt
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_nat_gal_page
);
setContentView
(
R
.
layout
.
activity_nat_gal_page
);
bookBtn
=
findViewById
(
R
.
id
.
bookingButton
);
svnBt
=
findViewById
(
R
.
id
.
svButton
);
svnBt
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
startActivity
(
new
Intent
(
NatGalPage
.
this
,
RefreshmentsPage
.
class
));
}
});
bookBtn
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
Intent
intent
=
new
Intent
(
NatGalPage
.
this
,
BookingPage
.
class
);
intent
.
putExtra
(
"museum-name"
,
"National Gallery"
);
startActivity
(
intent
);
}
});
}
}
}
}
\ No newline at end of file
app/src/main/java/com/example/worldmuseums/RefreshmentsPage.java
0 → 100644
View file @
0a13ff17
package
com
.
example
.
worldmuseums
;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.view.View
;
import
android.widget.Button
;
import
android.widget.CheckBox
;
public
class
RefreshmentsPage
extends
AppCompatActivity
{
Button
bkBtn
;
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_refreshments_page
);
bkBtn
=
findViewById
(
R
.
id
.
bookBtnExtra
);
bkBtn
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
startActivity
(
new
Intent
(
RefreshmentsPage
.
this
,
BookingPage
.
class
));
}
});
}
}
\ No newline at end of file
app/src/main/java/com/example/worldmuseums/RegisterPage.java
0 → 100644
View file @
0a13ff17
package
com
.
example
.
worldmuseums
;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.view.View
;
import
android.widget.Button
;
import
android.widget.EditText
;
import
android.os.Bundle
;
import
android.widget.Toast
;
public
class
RegisterPage
extends
AppCompatActivity
{
EditText
username
,
password
,
repassword
;
Button
register
,
signin
;
DBHelper
DB
;
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_register_page
);
username
=
(
EditText
)
findViewById
(
R
.
id
.
regUser
);
password
=
(
EditText
)
findViewById
(
R
.
id
.
regPass
);
repassword
=
(
EditText
)
findViewById
(
R
.
id
.
regRepeatPass
);
register
=
(
Button
)
findViewById
(
R
.
id
.
btRegister
);
signin
=
(
Button
)
findViewById
(
R
.
id
.
btAlreadyUser
);
DB
=
new
DBHelper
(
this
);
register
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
view
)
{
String
user
=
username
.
getText
().
toString
();
String
pass
=
password
.
getText
().
toString
();
String
repass
=
repassword
.
getText
().
toString
();
if
(
user
.
equals
(
""
)
||
pass
.
equals
(
""
)
||
repass
.
equals
(
""
))
{
Toast
.
makeText
(
RegisterPage
.
this
,
"Please fill in the fields."
,
Toast
.
LENGTH_SHORT
).
show
();
}
else
{
if
(
pass
.
equals
(
repass
))
{
Boolean
checkuser
=
DB
.
checkusername
(
user
);
if
(
checkuser
==
false
)
{
Boolean
insert
=
DB
.
insertData
(
user
,
pass
);
if
(
insert
==
true
)
{
Toast
.
makeText
(
RegisterPage
.
this
,
"Registered successfully."
,
Toast
.
LENGTH_SHORT
).
show
();
Intent
intent
=
new
Intent
(
getApplicationContext
(),
MuseumHomePage
.
class
);
startActivity
(
intent
);
}
else
{
Toast
.
makeText
(
RegisterPage
.
this
,
"Registered failed."
,
Toast
.
LENGTH_SHORT
).
show
();
}
}
else
{
Toast
.
makeText
(
RegisterPage
.
this
,
"User already exists, sign in!"
,
Toast
.
LENGTH_SHORT
).
show
();
}
}
else
{
Toast
.
makeText
(
RegisterPage
.
this
,
"Passwords do not match."
,
Toast
.
LENGTH_SHORT
).
show
();
}
}
}
});
signin
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
view
)
{
Intent
intent
=
new
Intent
(
getApplicationContext
(),
MainLogin
.
class
);
startActivity
(
intent
);
}
});
}
}
\ No newline at end of file
app/src/main/java/com/example/worldmuseums/StatePage.java
View file @
0a13ff17
...
@@ -2,13 +2,39 @@ package com.example.worldmuseums;
...
@@ -2,13 +2,39 @@ package com.example.worldmuseums;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.view.View
;
import
android.widget.Button
;
public
class
StatePage
extends
AppCompatActivity
{
public
class
StatePage
extends
AppCompatActivity
{
private
Button
bookBtn
;
Button
svnBt
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_state_page
);
setContentView
(
R
.
layout
.
activity_state_page
);
bookBtn
=
findViewById
(
R
.
id
.
bookingButton
);
svnBt
=
findViewById
(
R
.
id
.
svButton
);
svnBt
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
startActivity
(
new
Intent
(
StatePage
.
this
,
RefreshmentsPage
.
class
));
}
});
bookBtn
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
Intent
intent
=
new
Intent
(
StatePage
.
this
,
BookingPage
.
class
);
intent
.
putExtra
(
"museum-name"
,
"State Heratige Museum"
);
startActivity
(
intent
);
}
});
}
}
}
}
\ No newline at end of file
app/src/main/java/com/example/worldmuseums/TatePage.java
View file @
0a13ff17
...
@@ -2,13 +2,39 @@ package com.example.worldmuseums;
...
@@ -2,13 +2,39 @@ package com.example.worldmuseums;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.view.View
;
import
android.widget.Button
;
public
class
TatePage
extends
AppCompatActivity
{
public
class
TatePage
extends
AppCompatActivity
{
private
Button
bookBtn
;
Button
svnBt
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_tate_page
);
setContentView
(
R
.
layout
.
activity_tate_page
);
bookBtn
=
findViewById
(
R
.
id
.
bookingButton
);
svnBt
=
findViewById
(
R
.
id
.
svButton
);
svnBt
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
startActivity
(
new
Intent
(
TatePage
.
this
,
RefreshmentsPage
.
class
));
}
});
bookBtn
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
Intent
intent
=
new
Intent
(
TatePage
.
this
,
BookingPage
.
class
);
intent
.
putExtra
(
"museum-name"
,
"Tate Modern"
);
startActivity
(
intent
);
}
});
}
}
}
}
\ No newline at end of file
app/src/main/java/com/example/worldmuseums/VatPage.java
View file @
0a13ff17
...
@@ -2,13 +2,40 @@ package com.example.worldmuseums;
...
@@ -2,13 +2,40 @@ package com.example.worldmuseums;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.view.View
;
import
android.widget.Button
;
public
class
VatPage
extends
AppCompatActivity
{
public
class
VatPage
extends
AppCompatActivity
{
private
Button
bookBtn
;
Button
svnBt
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_vat_page
);
setContentView
(
R
.
layout
.
activity_vat_page
);
bookBtn
=
findViewById
(
R
.
id
.
bookingButton
);
svnBt
=
findViewById
(
R
.
id
.
svButton
);
svnBt
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
startActivity
(
new
Intent
(
VatPage
.
this
,
RefreshmentsPage
.
class
));
}
});
bookBtn
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
Intent
intent
=
new
Intent
(
VatPage
.
this
,
BookingPage
.
class
);
intent
.
putExtra
(
"museum-name"
,
"Vatican Museums"
);
startActivity
(
intent
);
}
});
}
}
}
}
\ No newline at end of file
app/src/main/res/layout/activity_a_m_n_h_page.xml
View file @
0a13ff17
...
@@ -49,187 +49,34 @@
...
@@ -49,187 +49,34 @@
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.066"
/>
app:layout_constraintVertical_bias=
"0.066"
/>
<TextView
<Button
android:id=
"@+id/lvTitle2"
android:id=
"@+id/bookingButton"
android:layout_width=
"wrap_content"
android:layout_width=
"388dp"
android:layout_height=
"wrap_content"
android:layout_height=
"41dp"
android:fontFamily=
"sans-serif-light"
android:background=
"#000000"
android:text=
"Refreshments"
android:text=
"BOOK without extras"
android:textColor=
"#000000"
android:textColor=
"#FFFFFF"
android:textSize=
"20sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxTea"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.299"
/>
<CheckBox
android:id=
"@+id/checkBoxTea"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Tea - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxWater"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBoxWater"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Water - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxCoffee"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.11"
/>
<CheckBox
android:id=
"@+id/checkBoxCoffee"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coffee - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxFlatbread"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.221"
/>
<CheckBox
android:id=
"@+id/checkBoxFlatbread"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Flatbread - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSandwich"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.332"
/>
<CheckBox
android:id=
"@+id/checkBoxSandwich"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sandwich - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSweetRoll"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.442"
/>
<CheckBox
android:id=
"@+id/checkBoxSweetRoll"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sweet roll - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSalad"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.553"
/>
<CheckBox
android:id=
"@+id/checkBoxSalad"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Salad - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.022"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.664"
/>
<TextView
android:id=
"@+id/lvTitle5"
android:layout_width=
"95dp"
android:layout_height=
"27dp"
android:fontFamily=
"sans-serif-light"
android:text=
"Souvenirs"
android:textColor=
"#000000"
android:textSize=
"20sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox8"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.298"
/>
<CheckBox
android:id=
"@+id/checkBox8"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Shirt - £10"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox13"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBox10"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Bottle - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox9"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.436"
/>
<CheckBox
android:id=
"@+id/checkBox11"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coaster - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox12"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.218"
/>
<CheckBox
android:id=
"@+id/checkBox12"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Mug - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox10"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.327"
/>
<CheckBox
android:id=
"@+id/checkBox13"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Hat - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox11"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.109"
/>
<CheckBox
android:id=
"@+id/checkBox14"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Keychain - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.
976
"
app:layout_constraintHorizontal_bias=
"0.
5
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.655"
/>
app:layout_constraintVertical_bias=
"0.678"
/>
<CheckBox
android:id=
"@+id/checkBox9"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Snow globe - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox14"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.546"
/>
<Button
<Button
android:id=
"@+id/
booking
Button"
android:id=
"@+id/
sv
Button"
android:layout_width=
"388dp"
android:layout_width=
"388dp"
android:layout_height=
"41dp"
android:layout_height=
"41dp"
android:background=
"#000000"
android:background=
"#000000"
android:text=
"
BOOK
"
android:text=
"
Souvenirs and refreshments
"
android:textColor=
"#FFFFFF"
android:textColor=
"#FFFFFF"
android:textSize=
"18sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.478"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/checkBoxSalad"
/>
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.591"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_booking_page.xml
View file @
0a13ff17
...
@@ -6,6 +6,21 @@
...
@@ -6,6 +6,21 @@
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
tools:context=
".BookingPage"
>
tools:context=
".BookingPage"
>
<TextView
android:id=
"@+id/orderTitle2"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:fontFamily=
"sans-serif-light"
android:text=
"Thank you!"
android:textColor=
"#000000"
android:textSize=
"30sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.481"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.092"
/>
<TextView
<TextView
android:id=
"@+id/orderTitle"
android:id=
"@+id/orderTitle"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
...
@@ -22,17 +37,34 @@
...
@@ -22,17 +37,34 @@
app:layout_constraintVertical_bias=
"0.17"
/>
app:layout_constraintVertical_bias=
"0.17"
/>
<TextView
<TextView
android:id=
"@+id/
orderTitle2
"
android:id=
"@+id/
museumTitle
"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:fontFamily=
"sans-serif-light"
android:fontFamily=
"sans-serif-light"
android:text=
"
Thank you!
"
android:text=
"
Museum:
"
android:textColor=
"#000000"
android:textColor=
"#000000"
android:textSize=
"
30
sp"
android:textSize=
"
24
sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.
481
"
app:layout_constraintHorizontal_bias=
"0.
147
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.092"
/>
app:layout_constraintVertical_bias=
"0.274"
/>
<TextView
android:id=
"@+id/extrasList"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:fontFamily=
"sans-serif-light"
android:text=
"Extras:"
android:textColor=
"#000000"
android:textSize=
"24sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.128"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.371"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_british_page.xml
View file @
0a13ff17
...
@@ -49,187 +49,34 @@
...
@@ -49,187 +49,34 @@
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.066"
/>
app:layout_constraintVertical_bias=
"0.066"
/>
<TextView
<Button
android:id=
"@+id/lvTitle2"
android:id=
"@+id/bookingButton"
android:layout_width=
"wrap_content"
android:layout_width=
"388dp"
android:layout_height=
"wrap_content"
android:layout_height=
"41dp"
android:fontFamily=
"sans-serif-light"
android:background=
"#000000"
android:text=
"Refreshments"
android:text=
"BOOK without extras"
android:textColor=
"#000000"
android:textColor=
"#FFFFFF"
android:textSize=
"20sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxTea"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.299"
/>
<CheckBox
android:id=
"@+id/checkBoxTea"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Tea - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxWater"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBoxWater"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Water - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxCoffee"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.11"
/>
<CheckBox
android:id=
"@+id/checkBoxCoffee"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coffee - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxFlatbread"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.221"
/>
<CheckBox
android:id=
"@+id/checkBoxFlatbread"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Flatbread - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSandwich"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.332"
/>
<CheckBox
android:id=
"@+id/checkBoxSandwich"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sandwich - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSweetRoll"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.442"
/>
<CheckBox
android:id=
"@+id/checkBoxSweetRoll"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sweet roll - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSalad"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.553"
/>
<CheckBox
android:id=
"@+id/checkBoxSalad"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Salad - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.022"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.664"
/>
<TextView
android:id=
"@+id/lvTitle5"
android:layout_width=
"95dp"
android:layout_height=
"27dp"
android:fontFamily=
"sans-serif-light"
android:text=
"Souvenirs"
android:textColor=
"#000000"
android:textSize=
"20sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox8"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.298"
/>
<CheckBox
android:id=
"@+id/checkBox8"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Shirt - £10"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox13"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBox10"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Bottle - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox9"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.436"
/>
<CheckBox
android:id=
"@+id/checkBox11"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coaster - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox12"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.218"
/>
<CheckBox
android:id=
"@+id/checkBox12"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Mug - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox10"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.327"
/>
<CheckBox
android:id=
"@+id/checkBox13"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Hat - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox11"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.109"
/>
<CheckBox
android:id=
"@+id/checkBox14"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Keychain - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.
976
"
app:layout_constraintHorizontal_bias=
"0.
5
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.655"
/>
app:layout_constraintVertical_bias=
"0.678"
/>
<CheckBox
android:id=
"@+id/checkBox9"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Snow globe - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox14"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.546"
/>
<Button
<Button
android:id=
"@+id/
booking
Button"
android:id=
"@+id/
sv
Button"
android:layout_width=
"388dp"
android:layout_width=
"388dp"
android:layout_height=
"41dp"
android:layout_height=
"41dp"
android:background=
"#000000"
android:background=
"#000000"
android:text=
"
BOOK
"
android:text=
"
Souvenirs and refreshments
"
android:textColor=
"#FFFFFF"
android:textColor=
"#FFFFFF"
android:textSize=
"18sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.478"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/checkBoxSalad"
/>
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.591"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_china_page.xml
View file @
0a13ff17
...
@@ -49,187 +49,34 @@
...
@@ -49,187 +49,34 @@
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.066"
/>
app:layout_constraintVertical_bias=
"0.066"
/>
<TextView
<Button
android:id=
"@+id/lvTitle2"
android:id=
"@+id/bookingButton"
android:layout_width=
"wrap_content"
android:layout_width=
"388dp"
android:layout_height=
"wrap_content"
android:layout_height=
"41dp"
android:fontFamily=
"sans-serif-light"
android:background=
"#000000"
android:text=
"Refreshments"
android:text=
"BOOK without extras"
android:textColor=
"#000000"
android:textColor=
"#FFFFFF"
android:textSize=
"20sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxTea"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.299"
/>
<CheckBox
android:id=
"@+id/checkBoxTea"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Tea - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxWater"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBoxWater"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Water - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxCoffee"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.11"
/>
<CheckBox
android:id=
"@+id/checkBoxCoffee"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coffee - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxFlatbread"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.221"
/>
<CheckBox
android:id=
"@+id/checkBoxFlatbread"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Flatbread - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSandwich"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.332"
/>
<CheckBox
android:id=
"@+id/checkBoxSandwich"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sandwich - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSweetRoll"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.442"
/>
<CheckBox
android:id=
"@+id/checkBoxSweetRoll"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sweet roll - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSalad"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.553"
/>
<CheckBox
android:id=
"@+id/checkBoxSalad"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Salad - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.022"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.664"
/>
<TextView
android:id=
"@+id/lvTitle5"
android:layout_width=
"95dp"
android:layout_height=
"27dp"
android:fontFamily=
"sans-serif-light"
android:text=
"Souvenirs"
android:textColor=
"#000000"
android:textSize=
"20sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox8"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.298"
/>
<CheckBox
android:id=
"@+id/checkBox8"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Shirt - £10"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox13"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBox10"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Bottle - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox9"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.436"
/>
<CheckBox
android:id=
"@+id/checkBox11"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coaster - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox12"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.218"
/>
<CheckBox
android:id=
"@+id/checkBox12"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Mug - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox10"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.327"
/>
<CheckBox
android:id=
"@+id/checkBox13"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Hat - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox11"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.109"
/>
<CheckBox
android:id=
"@+id/checkBox14"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Keychain - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.
976
"
app:layout_constraintHorizontal_bias=
"0.
5
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.655"
/>
app:layout_constraintVertical_bias=
"0.678"
/>
<CheckBox
android:id=
"@+id/checkBox9"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Snow globe - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox14"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.546"
/>
<Button
<Button
android:id=
"@+id/
booking
Button"
android:id=
"@+id/
sv
Button"
android:layout_width=
"388dp"
android:layout_width=
"388dp"
android:layout_height=
"41dp"
android:layout_height=
"41dp"
android:background=
"#000000"
android:background=
"#000000"
android:text=
"
BOOK
"
android:text=
"
Souvenirs and refreshments
"
android:textColor=
"#FFFFFF"
android:textColor=
"#FFFFFF"
android:textSize=
"18sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.478"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/checkBoxSalad"
/>
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.591"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_hist_page.xml
View file @
0a13ff17
...
@@ -49,187 +49,34 @@
...
@@ -49,187 +49,34 @@
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.066"
/>
app:layout_constraintVertical_bias=
"0.066"
/>
<TextView
<Button
android:id=
"@+id/lvTitle2"
android:id=
"@+id/bookingButton"
android:layout_width=
"wrap_content"
android:layout_width=
"388dp"
android:layout_height=
"wrap_content"
android:layout_height=
"41dp"
android:fontFamily=
"sans-serif-light"
android:background=
"#000000"
android:text=
"Refreshments"
android:text=
"BOOK without extras"
android:textColor=
"#000000"
android:textColor=
"#FFFFFF"
android:textSize=
"20sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxTea"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.299"
/>
<CheckBox
android:id=
"@+id/checkBoxTea"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Tea - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxWater"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBoxWater"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Water - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxCoffee"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.11"
/>
<CheckBox
android:id=
"@+id/checkBoxCoffee"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coffee - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxFlatbread"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.221"
/>
<CheckBox
android:id=
"@+id/checkBoxFlatbread"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Flatbread - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSandwich"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.332"
/>
<CheckBox
android:id=
"@+id/checkBoxSandwich"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sandwich - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSweetRoll"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.442"
/>
<CheckBox
android:id=
"@+id/checkBoxSweetRoll"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sweet roll - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSalad"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.553"
/>
<CheckBox
android:id=
"@+id/checkBoxSalad"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Salad - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.022"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.664"
/>
<TextView
android:id=
"@+id/lvTitle5"
android:layout_width=
"95dp"
android:layout_height=
"27dp"
android:fontFamily=
"sans-serif-light"
android:text=
"Souvenirs"
android:textColor=
"#000000"
android:textSize=
"20sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox8"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.298"
/>
<CheckBox
android:id=
"@+id/checkBox8"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Shirt - £10"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox13"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBox10"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Bottle - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox9"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.436"
/>
<CheckBox
android:id=
"@+id/checkBox11"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coaster - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox12"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.218"
/>
<CheckBox
android:id=
"@+id/checkBox12"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Mug - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox10"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.327"
/>
<CheckBox
android:id=
"@+id/checkBox13"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Hat - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox11"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.109"
/>
<CheckBox
android:id=
"@+id/checkBox14"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Keychain - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.
976
"
app:layout_constraintHorizontal_bias=
"0.
5
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.655"
/>
app:layout_constraintVertical_bias=
"0.678"
/>
<CheckBox
android:id=
"@+id/checkBox9"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Snow globe - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox14"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.546"
/>
<Button
<Button
android:id=
"@+id/
booking
Button"
android:id=
"@+id/
sv
Button"
android:layout_width=
"388dp"
android:layout_width=
"388dp"
android:layout_height=
"41dp"
android:layout_height=
"41dp"
android:background=
"#000000"
android:background=
"#000000"
android:text=
"
BOOK
"
android:text=
"
Souvenirs and refreshments
"
android:textColor=
"#FFFFFF"
android:textColor=
"#FFFFFF"
android:textSize=
"18sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.478"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/checkBoxSalad"
/>
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.591"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_
ma
in.xml
→
app/src/main/res/layout/activity_
log
in.xml
View file @
0a13ff17
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
tools:context=
".Main
Activity
"
tools:context=
".Main
Login
"
android:background=
"@drawable/backtwo"
>
android:background=
"@drawable/backtwo"
>
<EditText
<EditText
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
app:layout_constraintHorizontal_bias=
"0.497"
app:layout_constraintHorizontal_bias=
"0.497"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.7
04
"
/>
app:layout_constraintVertical_bias=
"0.7
21
"
/>
<TextView
<TextView
android:id=
"@+id/txtLogin"
android:id=
"@+id/txtLogin"
...
...
app/src/main/res/layout/activity_louvre_page.xml
View file @
0a13ff17
...
@@ -49,187 +49,34 @@
...
@@ -49,187 +49,34 @@
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.066"
/>
app:layout_constraintVertical_bias=
"0.066"
/>
<TextView
<Button
android:id=
"@+id/lvTitle2"
android:id=
"@+id/bookingButton"
android:layout_width=
"wrap_content"
android:layout_width=
"388dp"
android:layout_height=
"wrap_content"
android:layout_height=
"41dp"
android:fontFamily=
"sans-serif-light"
android:background=
"#000000"
android:text=
"Refreshments"
android:text=
"BOOK without extras"
android:textColor=
"#000000"
android:textColor=
"#FFFFFF"
android:textSize=
"20sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxTea"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.299"
/>
<CheckBox
android:id=
"@+id/checkBoxTea"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Tea - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxWater"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBoxWater"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Water - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxCoffee"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.11"
/>
<CheckBox
android:id=
"@+id/checkBoxCoffee"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coffee - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxFlatbread"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.221"
/>
<CheckBox
android:id=
"@+id/checkBoxFlatbread"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Flatbread - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSandwich"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.332"
/>
<CheckBox
android:id=
"@+id/checkBoxSandwich"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sandwich - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSweetRoll"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.442"
/>
<CheckBox
android:id=
"@+id/checkBoxSweetRoll"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sweet roll - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSalad"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.553"
/>
<CheckBox
android:id=
"@+id/checkBoxSalad"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Salad - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.022"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.664"
/>
<TextView
android:id=
"@+id/lvTitle5"
android:layout_width=
"95dp"
android:layout_height=
"27dp"
android:fontFamily=
"sans-serif-light"
android:text=
"Souvenirs"
android:textColor=
"#000000"
android:textSize=
"20sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox8"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.298"
/>
<CheckBox
android:id=
"@+id/checkBox8"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Shirt - £10"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox13"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBox10"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Bottle - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox9"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.436"
/>
<CheckBox
android:id=
"@+id/checkBox11"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coaster - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox12"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.218"
/>
<CheckBox
android:id=
"@+id/checkBox12"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Mug - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox10"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.327"
/>
<CheckBox
android:id=
"@+id/checkBox13"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Hat - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox11"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.109"
/>
<CheckBox
android:id=
"@+id/checkBox14"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Keychain - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.
976
"
app:layout_constraintHorizontal_bias=
"0.
5
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.655"
/>
app:layout_constraintVertical_bias=
"0.678"
/>
<CheckBox
android:id=
"@+id/checkBox9"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Snow globe - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox14"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.546"
/>
<Button
<Button
android:id=
"@+id/
booking
Button"
android:id=
"@+id/
sv
Button"
android:layout_width=
"388dp"
android:layout_width=
"388dp"
android:layout_height=
"41dp"
android:layout_height=
"41dp"
android:background=
"#000000"
android:background=
"#000000"
android:text=
"
BOOK
"
android:text=
"
Souvenirs and refreshments
"
android:textColor=
"#FFFFFF"
android:textColor=
"#FFFFFF"
android:textSize=
"18sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.478"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/checkBoxSalad"
/>
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.591"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_met_page.xml
View file @
0a13ff17
...
@@ -49,187 +49,33 @@
...
@@ -49,187 +49,33 @@
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.066"
/>
app:layout_constraintVertical_bias=
"0.066"
/>
<TextView
<Button
android:id=
"@+id/lvTitle2"
android:id=
"@+id/bookingButton"
android:layout_width=
"wrap_content"
android:layout_width=
"388dp"
android:layout_height=
"wrap_content"
android:layout_height=
"41dp"
android:fontFamily=
"sans-serif-light"
android:background=
"#000000"
android:text=
"Refreshments"
android:text=
"BOOK without extras"
android:textColor=
"#000000"
android:textColor=
"#FFFFFF"
android:textSize=
"20sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxTea"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.299"
/>
<CheckBox
android:id=
"@+id/checkBoxTea"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Tea - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxWater"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBoxWater"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Water - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxCoffee"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.11"
/>
<CheckBox
android:id=
"@+id/checkBoxCoffee"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coffee - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxFlatbread"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.221"
/>
<CheckBox
android:id=
"@+id/checkBoxFlatbread"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Flatbread - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSandwich"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.332"
/>
<CheckBox
android:id=
"@+id/checkBoxSandwich"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sandwich - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSweetRoll"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.442"
/>
<CheckBox
android:id=
"@+id/checkBoxSweetRoll"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sweet roll - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSalad"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.553"
/>
<CheckBox
android:id=
"@+id/checkBoxSalad"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Salad - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.022"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.664"
/>
<TextView
android:id=
"@+id/lvTitle5"
android:layout_width=
"95dp"
android:layout_height=
"27dp"
android:fontFamily=
"sans-serif-light"
android:text=
"Souvenirs"
android:textColor=
"#000000"
android:textSize=
"20sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox8"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.298"
/>
<CheckBox
android:id=
"@+id/checkBox8"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Shirt - £10"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox13"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBox10"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Bottle - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox9"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.436"
/>
<CheckBox
android:id=
"@+id/checkBox11"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coaster - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox12"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.218"
/>
<CheckBox
android:id=
"@+id/checkBox12"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Mug - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox10"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.327"
/>
<CheckBox
android:id=
"@+id/checkBox13"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Hat - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox11"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.109"
/>
<CheckBox
android:id=
"@+id/checkBox14"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Keychain - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.
976
"
app:layout_constraintHorizontal_bias=
"0.
5
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.655"
/>
app:layout_constraintVertical_bias=
"0.678"
/>
<CheckBox
android:id=
"@+id/checkBox9"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Snow globe - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox14"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.546"
/>
<Button
<Button
android:id=
"@+id/
booking
Button"
android:id=
"@+id/
sv
Button"
android:layout_width=
"388dp"
android:layout_width=
"388dp"
android:layout_height=
"41dp"
android:layout_height=
"41dp"
android:background=
"#000000"
android:background=
"#000000"
android:text=
"
BOOK
"
android:text=
"
Souvenirs and refreshments
"
android:textColor=
"#FFFFFF"
android:textColor=
"#FFFFFF"
android:textSize=
"18sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.478"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_to
BottomOf=
"@+id/checkBoxSalad"
/>
app:layout_constraintTop_to
TopOf=
"parent"
app:layout_constraintVertical_bias=
"0.591"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_nat_gal_page.xml
View file @
0a13ff17
...
@@ -49,187 +49,34 @@
...
@@ -49,187 +49,34 @@
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.066"
/>
app:layout_constraintVertical_bias=
"0.066"
/>
<TextView
<Button
android:id=
"@+id/lvTitle2"
android:id=
"@+id/bookingButton"
android:layout_width=
"wrap_content"
android:layout_width=
"388dp"
android:layout_height=
"wrap_content"
android:layout_height=
"41dp"
android:fontFamily=
"sans-serif-light"
android:background=
"#000000"
android:text=
"Refreshments"
android:text=
"BOOK without extras"
android:textColor=
"#000000"
android:textColor=
"#FFFFFF"
android:textSize=
"20sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxTea"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.299"
/>
<CheckBox
android:id=
"@+id/checkBoxTea"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Tea - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxWater"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBoxWater"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Water - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxCoffee"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.11"
/>
<CheckBox
android:id=
"@+id/checkBoxCoffee"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coffee - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxFlatbread"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.221"
/>
<CheckBox
android:id=
"@+id/checkBoxFlatbread"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Flatbread - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSandwich"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.332"
/>
<CheckBox
android:id=
"@+id/checkBoxSandwich"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sandwich - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSweetRoll"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.442"
/>
<CheckBox
android:id=
"@+id/checkBoxSweetRoll"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sweet roll - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSalad"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.553"
/>
<CheckBox
android:id=
"@+id/checkBoxSalad"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Salad - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.022"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.664"
/>
<TextView
android:id=
"@+id/lvTitle5"
android:layout_width=
"95dp"
android:layout_height=
"27dp"
android:fontFamily=
"sans-serif-light"
android:text=
"Souvenirs"
android:textColor=
"#000000"
android:textSize=
"20sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox8"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.298"
/>
<CheckBox
android:id=
"@+id/checkBox8"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Shirt - £10"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox13"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBox10"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Bottle - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox9"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.436"
/>
<CheckBox
android:id=
"@+id/checkBox11"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coaster - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox12"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.218"
/>
<CheckBox
android:id=
"@+id/checkBox12"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Mug - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox10"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.327"
/>
<CheckBox
android:id=
"@+id/checkBox13"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Hat - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox11"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.109"
/>
<CheckBox
android:id=
"@+id/checkBox14"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Keychain - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.
976
"
app:layout_constraintHorizontal_bias=
"0.
5
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.655"
/>
app:layout_constraintVertical_bias=
"0.678"
/>
<CheckBox
android:id=
"@+id/checkBox9"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Snow globe - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox14"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.546"
/>
<Button
<Button
android:id=
"@+id/
booking
Button"
android:id=
"@+id/
sv
Button"
android:layout_width=
"388dp"
android:layout_width=
"388dp"
android:layout_height=
"41dp"
android:layout_height=
"41dp"
android:background=
"#000000"
android:background=
"#000000"
android:text=
"
BOOK
"
android:text=
"
Souvenirs and refreshments
"
android:textColor=
"#FFFFFF"
android:textColor=
"#FFFFFF"
android:textSize=
"18sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.478"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/checkBoxSalad"
/>
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.591"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_refreshments_page.xml
0 → 100644
View file @
0a13ff17
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
tools:context=
".RefreshmentsPage"
>
<CheckBox
android:id=
"@+id/checkBox"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Shirt - £10"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.628"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.679"
/>
<CheckBox
android:id=
"@+id/checkBox2"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Bottle - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.12"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.762"
/>
<CheckBox
android:id=
"@+id/checkBox3"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coaster - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.125"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.679"
/>
<CheckBox
android:id=
"@+id/checkBox4"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Mug - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.611"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.597"
/>
<CheckBox
android:id=
"@+id/checkBox5"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Hat - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.6"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.519"
/>
<CheckBox
android:id=
"@+id/checkBox6"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Keychain - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.128"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.597"
/>
<CheckBox
android:id=
"@+id/checkBox7"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Snow globe - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.136"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.519"
/>
<TextView
android:id=
"@+id/textView4"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Souvenirs"
android:textSize=
"24sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.124"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.432"
/>
<TextView
android:id=
"@+id/textView5"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Refreshments"
android:textSize=
"24sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.145"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.04"
/>
<CheckBox
android:id=
"@+id/checkBoxWater2"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Water - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.12"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.343"
/>
<CheckBox
android:id=
"@+id/checkBoxSandwich2"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sandwich - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.68"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.111"
/>
<CheckBox
android:id=
"@+id/checkBoxCoffee2"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coffee - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.638"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.183"
/>
<CheckBox
android:id=
"@+id/checkBoxTea2"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Tea - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.601"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.26"
/>
<CheckBox
android:id=
"@+id/checkBoxSweetRoll2"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sweet roll - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.131"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.26"
/>
<CheckBox
android:id=
"@+id/checkBoxSalad2"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Salad - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.119"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.183"
/>
<CheckBox
android:id=
"@+id/checkBoxFlatbread2"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Flatbread - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.129"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.111"
/>
<Button
android:id=
"@+id/bookBtnExtra"
android:layout_width=
"327dp"
android:layout_height=
"34dp"
android:background=
"#000000"
android:text=
"Book"
android:textColor=
"#FFFFFF"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.88"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_register_page.xml
0 → 100644
View file @
0a13ff17
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
tools:context=
".RegisterPage"
android:background=
"@drawable/backtwo"
>
<TextView
android:id=
"@+id/txtRegister"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:fontFamily=
"sans-serif-thin"
android:text=
"Register"
android:textColor=
"#000000"
android:textSize=
"36sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.093"
/>
<TextView
android:id=
"@+id/txtRegHint"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:fontFamily=
"sans-serif-light"
android:text=
"For a WorldMuseum account"
android:textColor=
"#000000"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.49"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.172"
/>
<EditText
android:id=
"@+id/regRepeatPass"
android:layout_width=
"276dp"
android:layout_height=
"wrap_content"
android:ems=
"10"
android:inputType=
"textPassword"
android:textIsSelectable=
"true"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.496"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.565"
/>
<TextView
android:id=
"@+id/regPassTitle"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:fontFamily=
"sans-serif-light"
android:text=
"Password:"
android:textColor=
"#000000"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.193"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.396"
/>
<TextView
android:id=
"@+id/regRepeatPassTitle"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:fontFamily=
"sans-serif-light"
android:text=
"Retype password:"
android:textColor=
"#000000"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.223"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.515"
/>
<EditText
android:id=
"@+id/regPass"
android:layout_width=
"276dp"
android:layout_height=
"wrap_content"
android:ems=
"10"
android:inputType=
"textPassword"
android:textIsSelectable=
"true"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.496"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.44"
/>
<EditText
android:id=
"@+id/regUser"
android:layout_width=
"276dp"
android:layout_height=
"46dp"
android:ems=
"10"
android:inputType=
"textPersonName"
android:textIsSelectable=
"true"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.496"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.321"
/>
<TextView
android:id=
"@+id/regUserTitle"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:fontFamily=
"sans-serif-light"
android:text=
"Username:"
android:textColor=
"#000000"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.194"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.282"
/>
<Button
android:id=
"@+id/btRegister"
android:layout_width=
"210dp"
android:layout_height=
"41dp"
android:fontFamily=
"sans-serif"
android:text=
"REGISTER"
android:textColor=
"#FFFFFF"
app:backgroundTint=
"#000000"
app:cornerRadius=
"0dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.497"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.715"
/>
<Button
android:id=
"@+id/btAlreadyUser"
android:layout_width=
"210dp"
android:layout_height=
"41dp"
android:fontFamily=
"sans-serif"
android:text=
"Already a user? Sign in"
android:textColor=
"#FFFFFF"
app:backgroundTint=
"#000000"
app:cornerRadius=
"0dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.497"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.795"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_state_page.xml
View file @
0a13ff17
...
@@ -49,187 +49,34 @@
...
@@ -49,187 +49,34 @@
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.066"
/>
app:layout_constraintVertical_bias=
"0.066"
/>
<TextView
<Button
android:id=
"@+id/lvTitle2"
android:id=
"@+id/bookingButton"
android:layout_width=
"wrap_content"
android:layout_width=
"388dp"
android:layout_height=
"wrap_content"
android:layout_height=
"41dp"
android:fontFamily=
"sans-serif-light"
android:background=
"#000000"
android:text=
"Refreshments"
android:text=
"BOOK without extras"
android:textColor=
"#000000"
android:textColor=
"#FFFFFF"
android:textSize=
"20sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxTea"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.299"
/>
<CheckBox
android:id=
"@+id/checkBoxTea"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Tea - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxWater"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBoxWater"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Water - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxCoffee"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.11"
/>
<CheckBox
android:id=
"@+id/checkBoxCoffee"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coffee - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxFlatbread"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.221"
/>
<CheckBox
android:id=
"@+id/checkBoxFlatbread"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Flatbread - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSandwich"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.332"
/>
<CheckBox
android:id=
"@+id/checkBoxSandwich"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sandwich - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSweetRoll"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.442"
/>
<CheckBox
android:id=
"@+id/checkBoxSweetRoll"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sweet roll - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSalad"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.553"
/>
<CheckBox
android:id=
"@+id/checkBoxSalad"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Salad - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.022"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.664"
/>
<TextView
android:id=
"@+id/lvTitle5"
android:layout_width=
"95dp"
android:layout_height=
"27dp"
android:fontFamily=
"sans-serif-light"
android:text=
"Souvenirs"
android:textColor=
"#000000"
android:textSize=
"20sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox8"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.298"
/>
<CheckBox
android:id=
"@+id/checkBox8"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Shirt - £10"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox13"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBox10"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Bottle - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox9"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.436"
/>
<CheckBox
android:id=
"@+id/checkBox11"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coaster - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox12"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.218"
/>
<CheckBox
android:id=
"@+id/checkBox12"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Mug - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox10"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.327"
/>
<CheckBox
android:id=
"@+id/checkBox13"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Hat - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox11"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.109"
/>
<CheckBox
android:id=
"@+id/checkBox14"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Keychain - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.
976
"
app:layout_constraintHorizontal_bias=
"0.
5
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.655"
/>
app:layout_constraintVertical_bias=
"0.678"
/>
<CheckBox
android:id=
"@+id/checkBox9"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Snow globe - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox14"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.546"
/>
<Button
<Button
android:id=
"@+id/
booking
Button"
android:id=
"@+id/
sv
Button"
android:layout_width=
"388dp"
android:layout_width=
"388dp"
android:layout_height=
"41dp"
android:layout_height=
"41dp"
android:background=
"#000000"
android:background=
"#000000"
android:text=
"
BOOK
"
android:text=
"
Souvenirs and refreshments
"
android:textColor=
"#FFFFFF"
android:textColor=
"#FFFFFF"
android:textSize=
"18sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.478"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/checkBoxSalad"
/>
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.591"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_tate_page.xml
View file @
0a13ff17
...
@@ -49,187 +49,34 @@
...
@@ -49,187 +49,34 @@
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.066"
/>
app:layout_constraintVertical_bias=
"0.066"
/>
<TextView
<Button
android:id=
"@+id/lvTitle2"
android:id=
"@+id/bookingButton"
android:layout_width=
"wrap_content"
android:layout_width=
"388dp"
android:layout_height=
"wrap_content"
android:layout_height=
"41dp"
android:fontFamily=
"sans-serif-light"
android:background=
"#000000"
android:text=
"Refreshments"
android:text=
"BOOK without extras"
android:textColor=
"#000000"
android:textColor=
"#FFFFFF"
android:textSize=
"20sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxTea"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.299"
/>
<CheckBox
android:id=
"@+id/checkBoxTea"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Tea - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxWater"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBoxWater"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Water - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxCoffee"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.11"
/>
<CheckBox
android:id=
"@+id/checkBoxCoffee"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coffee - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxFlatbread"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.221"
/>
<CheckBox
android:id=
"@+id/checkBoxFlatbread"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Flatbread - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSandwich"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.332"
/>
<CheckBox
android:id=
"@+id/checkBoxSandwich"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sandwich - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSweetRoll"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.442"
/>
<CheckBox
android:id=
"@+id/checkBoxSweetRoll"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sweet roll - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSalad"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.553"
/>
<CheckBox
android:id=
"@+id/checkBoxSalad"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Salad - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.022"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.664"
/>
<TextView
android:id=
"@+id/lvTitle5"
android:layout_width=
"95dp"
android:layout_height=
"27dp"
android:fontFamily=
"sans-serif-light"
android:text=
"Souvenirs"
android:textColor=
"#000000"
android:textSize=
"20sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox8"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.298"
/>
<CheckBox
android:id=
"@+id/checkBox8"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Shirt - £10"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox13"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBox10"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Bottle - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox9"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.436"
/>
<CheckBox
android:id=
"@+id/checkBox11"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coaster - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox12"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.218"
/>
<CheckBox
android:id=
"@+id/checkBox12"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Mug - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox10"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.327"
/>
<CheckBox
android:id=
"@+id/checkBox13"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Hat - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox11"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.109"
/>
<CheckBox
android:id=
"@+id/checkBox14"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Keychain - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.
976
"
app:layout_constraintHorizontal_bias=
"0.
5
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.655"
/>
app:layout_constraintVertical_bias=
"0.678"
/>
<CheckBox
android:id=
"@+id/checkBox9"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Snow globe - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox14"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.546"
/>
<Button
<Button
android:id=
"@+id/
booking
Button"
android:id=
"@+id/
sv
Button"
android:layout_width=
"388dp"
android:layout_width=
"388dp"
android:layout_height=
"41dp"
android:layout_height=
"41dp"
android:background=
"#000000"
android:background=
"#000000"
android:text=
"
BOOK
"
android:text=
"
Souvenirs and refreshments
"
android:textColor=
"#FFFFFF"
android:textColor=
"#FFFFFF"
android:textSize=
"18sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.478"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/checkBoxSalad"
/>
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.591"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_vat_page.xml
View file @
0a13ff17
...
@@ -49,187 +49,34 @@
...
@@ -49,187 +49,34 @@
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.066"
/>
app:layout_constraintVertical_bias=
"0.066"
/>
<TextView
<Button
android:id=
"@+id/lvTitle2"
android:id=
"@+id/bookingButton"
android:layout_width=
"wrap_content"
android:layout_width=
"388dp"
android:layout_height=
"wrap_content"
android:layout_height=
"41dp"
android:fontFamily=
"sans-serif-light"
android:background=
"#000000"
android:text=
"Refreshments"
android:text=
"BOOK without extras"
android:textColor=
"#000000"
android:textColor=
"#FFFFFF"
android:textSize=
"20sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxTea"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.299"
/>
<CheckBox
android:id=
"@+id/checkBoxTea"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Tea - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxWater"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBoxWater"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Water - £1"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxCoffee"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.11"
/>
<CheckBox
android:id=
"@+id/checkBoxCoffee"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coffee - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxFlatbread"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.221"
/>
<CheckBox
android:id=
"@+id/checkBoxFlatbread"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Flatbread - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSandwich"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.332"
/>
<CheckBox
android:id=
"@+id/checkBoxSandwich"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sandwich - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSweetRoll"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.442"
/>
<CheckBox
android:id=
"@+id/checkBoxSweetRoll"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Sweet roll - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/checkBoxSalad"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.553"
/>
<CheckBox
android:id=
"@+id/checkBoxSalad"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Salad - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.022"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.664"
/>
<TextView
android:id=
"@+id/lvTitle5"
android:layout_width=
"95dp"
android:layout_height=
"27dp"
android:fontFamily=
"sans-serif-light"
android:text=
"Souvenirs"
android:textColor=
"#000000"
android:textSize=
"20sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox8"
app:layout_constraintTop_toBottomOf=
"@+id/lvImgLarge"
app:layout_constraintVertical_bias=
"0.298"
/>
<CheckBox
android:id=
"@+id/checkBox8"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Shirt - £10"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox13"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.0"
/>
<CheckBox
android:id=
"@+id/checkBox10"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Bottle - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox9"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.436"
/>
<CheckBox
android:id=
"@+id/checkBox11"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Coaster - £2"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox12"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.218"
/>
<CheckBox
android:id=
"@+id/checkBox12"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Mug - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox10"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.327"
/>
<CheckBox
android:id=
"@+id/checkBox13"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Hat - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox11"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.109"
/>
<CheckBox
android:id=
"@+id/checkBox14"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Keychain - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.
976
"
app:layout_constraintHorizontal_bias=
"0.
5
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.655"
/>
app:layout_constraintVertical_bias=
"0.678"
/>
<CheckBox
android:id=
"@+id/checkBox9"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Snow globe - £5"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/checkBox14"
app:layout_constraintTop_toBottomOf=
"@+id/lvTitle2"
app:layout_constraintVertical_bias=
"0.546"
/>
<Button
<Button
android:id=
"@+id/
booking
Button"
android:id=
"@+id/
sv
Button"
android:layout_width=
"388dp"
android:layout_width=
"388dp"
android:layout_height=
"41dp"
android:layout_height=
"41dp"
android:background=
"#000000"
android:background=
"#000000"
android:text=
"
BOOK
"
android:text=
"
Souvenirs and refreshments
"
android:textColor=
"#FFFFFF"
android:textColor=
"#FFFFFF"
android:textSize=
"18sp"
android:textSize=
"18sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.478"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/checkBoxSalad"
/>
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.591"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</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