Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PlaysRUs
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
sam.pople
PlaysRUs
Commits
e1c324bf
Commit
e1c324bf
authored
Jun 17, 2023
by
sam.pople
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
anothermark
parent
e4c23df7
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
40 additions
and
41 deletions
+40
-41
Database.java
...RUs2/app/src/main/java/com/example/playsrus/Database.java
+2
-2
antigone.java
...RUs2/app/src/main/java/com/example/playsrus/antigone.java
+1
-1
hamlet.java
PlaysRUs2/app/src/main/java/com/example/playsrus/hamlet.java
+1
-1
midsummer.java
...Us2/app/src/main/java/com/example/playsrus/midsummer.java
+1
-1
oedipus.java
...sRUs2/app/src/main/java/com/example/playsrus/oedipus.java
+1
-1
seating.java
...sRUs2/app/src/main/java/com/example/playsrus/seating.java
+0
-1
tempest.java
...sRUs2/app/src/main/java/com/example/playsrus/tempest.java
+1
-1
activity_main.xml
PlaysRUs2/app/src/main/res/layout/activity_main.xml
+4
-4
details.xml
PlaysRUs2/app/src/main/res/layout/details.xml
+4
-4
filteredwheelchair.xml
PlaysRUs2/app/src/main/res/layout/filteredwheelchair.xml
+7
-7
lights.xml
PlaysRUs2/app/src/main/res/layout/lights.xml
+8
-8
seating.xml
PlaysRUs2/app/src/main/res/layout/seating.xml
+2
-2
viewall.xml
PlaysRUs2/app/src/main/res/layout/viewall.xml
+8
-8
No files found.
PlaysRUs2/app/src/main/java/com/example/playsrus/Database.java
View file @
e1c324bf
...
...
@@ -11,9 +11,9 @@ import java.util.ArrayList;
import
java.util.List
;
public
class
Database
extends
SQLiteOpenHelper
{
public
static
final
String
databasename
=
"playsrusdata
2
.db"
;
public
static
final
String
databasename
=
"playsrusdata
3
.db"
;
public
Database
(
@Nullable
Context
cont
)
{
super
(
cont
,
"playsrusdata
2
.db"
,
null
,
1
);
super
(
cont
,
"playsrusdata
3
.db"
,
null
,
1
);
}
@Override
public
void
onCreate
(
SQLiteDatabase
data
)
{
...
...
PlaysRUs2/app/src/main/java/com/example/playsrus/antigone.java
View file @
e1c324bf
...
...
@@ -15,7 +15,7 @@ import androidx.annotation.Nullable;
import
androidx.appcompat.app.AppCompatActivity
;
public
class
antigone
extends
AppCompatActivity
implements
AdapterView
.
OnItemSelectedListener
{
String
[]
seatings
=
{
"
Seated"
};
String
[]
seatings
=
{
"
Inner circle"
,
"Outer circle"
,
"Standing"
};
private
EditText
fullName
;
private
TextView
displayplayname
;
...
...
PlaysRUs2/app/src/main/java/com/example/playsrus/hamlet.java
View file @
e1c324bf
...
...
@@ -15,7 +15,7 @@ import androidx.annotation.Nullable;
import
androidx.appcompat.app.AppCompatActivity
;
public
class
hamlet
extends
AppCompatActivity
implements
AdapterView
.
OnItemSelectedListener
{
String
[]
seatings
=
{
"Seated"
};
String
[]
seatings
=
{
"Seated"
,
"Standing"
};
private
EditText
fullName
;
private
TextView
displayplayname
;
...
...
PlaysRUs2/app/src/main/java/com/example/playsrus/midsummer.java
View file @
e1c324bf
...
...
@@ -15,7 +15,7 @@ import androidx.annotation.Nullable;
import
androidx.appcompat.app.AppCompatActivity
;
public
class
midsummer
extends
AppCompatActivity
implements
AdapterView
.
OnItemSelectedListener
{
String
[]
seatings
=
{
"
Seated
"
};
String
[]
seatings
=
{
"
On stage"
,
"Grass
"
};
private
EditText
fullName
;
private
TextView
displayplayname
;
...
...
PlaysRUs2/app/src/main/java/com/example/playsrus/oedipus.java
View file @
e1c324bf
...
...
@@ -15,7 +15,7 @@ import androidx.annotation.Nullable;
import
androidx.appcompat.app.AppCompatActivity
;
public
class
oedipus
extends
AppCompatActivity
implements
AdapterView
.
OnItemSelectedListener
{
String
[]
seatings
=
{
"Seated"
};
String
[]
seatings
=
{
"Seated"
,
"Standing"
};
private
EditText
fullName
;
private
TextView
displayplayname
;
...
...
PlaysRUs2/app/src/main/java/com/example/playsrus/seating.java
View file @
e1c324bf
...
...
@@ -47,7 +47,6 @@ public class seating extends AppCompatActivity implements AdapterView.OnItemSele
String
playnameforthis
=
"The Merchant of Venice"
;
int
ticketsthere
=
database
.
gettickets
(
playnameforthis
);
String
getseating
=
seatingtype
.
getSelectedItem
().
toString
();
String
getname
=
fullName
.
getText
().
toString
();
displaytickets
.
setText
(
String
.
valueOf
(
ticketsthere
));
//This ensures that the number of ordered tickets is acceptable
confirm
.
setOnClickListener
(
v
->
{
...
...
PlaysRUs2/app/src/main/java/com/example/playsrus/tempest.java
View file @
e1c324bf
...
...
@@ -15,7 +15,7 @@ import androidx.annotation.Nullable;
import
androidx.appcompat.app.AppCompatActivity
;
public
class
tempest
extends
AppCompatActivity
implements
AdapterView
.
OnItemSelectedListener
{
String
[]
seatings
=
{
"
Seated
"
};
String
[]
seatings
=
{
"
Boat A"
,
"Boat B"
,
"Boat C
"
};
private
EditText
fullName
;
private
TextView
displayplayname
;
...
...
PlaysRUs2/app/src/main/res/layout/activity_main.xml
View file @
e1c324bf
...
...
@@ -121,8 +121,8 @@
<Button
android:id=
"@+id/filtered"
android:layout_width=
"
207
dp"
android:layout_height=
"
90
dp"
android:layout_width=
"
195
dp"
android:layout_height=
"
84
dp"
android:text=
"View Performances With Wheelchair Access"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
...
...
@@ -133,8 +133,8 @@
<Button
android:id=
"@+id/filtered2"
android:layout_width=
"
200
dp"
android:layout_height=
"9
5
dp"
android:layout_width=
"
187
dp"
android:layout_height=
"9
0
dp"
android:text=
"View Performances With Flashing Lights"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
...
...
PlaysRUs2/app/src/main/res/layout/details.xml
View file @
e1c324bf
...
...
@@ -52,18 +52,18 @@
<TextView
android:id=
"@+id/textView9"
android:layout_width=
"3
87
dp"
android:layout_height=
"
29
dp"
android:layout_width=
"3
78
dp"
android:layout_height=
"
31
dp"
android:layout_marginTop=
"8dp"
android:text=
"Venue - Merchant Adventurer's Hall, York"
android:textAppearance=
"@style/TextAppearance.AppCompat.Body1"
android:textSize=
"20sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.
428
"
app:layout_constraintHorizontal_bias=
"0.
666
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.29
7
"
app:layout_constraintVertical_bias=
"0.29
5
"
tools:text=
"Venue - Merchant Adventurer's Hall, York"
/>
<TextView
...
...
PlaysRUs2/app/src/main/res/layout/filteredwheelchair.xml
View file @
e1c324bf
...
...
@@ -89,10 +89,10 @@
android:text=
"View Bookings"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.0
59
"
app:layout_constraintHorizontal_bias=
"0.0
93
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.8
3
"
/>
app:layout_constraintVertical_bias=
"0.8
12
"
/>
<Button
android:id=
"@+id/undo"
...
...
@@ -104,18 +104,18 @@
app:layout_constraintHorizontal_bias=
"0.855"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.7
61
"
/>
app:layout_constraintVertical_bias=
"0.7
37
"
/>
<Button
android:id=
"@+id/undo2"
android:layout_width=
"
200
dp"
android:layout_height=
"
79
dp"
android:layout_width=
"
186
dp"
android:layout_height=
"
93
dp"
android:text=
"View Performances with Flashing Lights"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.
927
"
app:layout_constraintHorizontal_bias=
"0.
884
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.9
2
8"
/>
app:layout_constraintVertical_bias=
"0.9
1
8"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
PlaysRUs2/app/src/main/res/layout/lights.xml
View file @
e1c324bf
...
...
@@ -66,22 +66,22 @@
android:text=
"View Bookings"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.0
14
"
app:layout_constraintHorizontal_bias=
"0.0
59
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.
83
"
/>
app:layout_constraintVertical_bias=
"0.
782
"
/>
<Button
android:id=
"@+id/undo5"
android:layout_width=
"
205
dp"
android:layout_height=
"8
7
dp"
android:layout_width=
"
187
dp"
android:layout_height=
"8
8
dp"
android:text=
"View Performances With Wheelchair Access"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.8
49
"
app:layout_constraintHorizontal_bias=
"0.8
75
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.7
56
"
/>
app:layout_constraintVertical_bias=
"0.7
02
"
/>
<Button
android:id=
"@+id/undo6"
...
...
@@ -90,8 +90,8 @@
android:text=
"View All"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.83
5
"
app:layout_constraintHorizontal_bias=
"0.83
7
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.
9
"
/>
app:layout_constraintVertical_bias=
"0.
876
"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
PlaysRUs2/app/src/main/res/layout/seating.xml
View file @
e1c324bf
...
...
@@ -124,10 +124,10 @@
android:textSize=
"24sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.7
12
"
app:layout_constraintHorizontal_bias=
"0.7
34
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.4
14
"
/>
app:layout_constraintVertical_bias=
"0.4
23
"
/>
<TextView
android:id=
"@+id/venicetickets2"
...
...
PlaysRUs2/app/src/main/res/layout/viewall.xml
View file @
e1c324bf
...
...
@@ -51,25 +51,25 @@
<Button
android:id=
"@+id/bookingback"
android:layout_width=
"1
43
dp"
android:layout_height=
"
60
dp"
android:layout_width=
"1
26
dp"
android:layout_height=
"
57
dp"
android:text=
"Back"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.
014
"
app:layout_constraintHorizontal_bias=
"0.
143
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.8
3
"
/>
app:layout_constraintVertical_bias=
"0.8
2
"
/>
<Button
android:id=
"@+id/button27"
android:layout_width=
"
221
dp"
android:layout_height=
"
60
dp"
android:layout_width=
"
179
dp"
android:layout_height=
"
53
dp"
android:text=
"Cancel Bookings"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.9
78
"
app:layout_constraintHorizontal_bias=
"0.9
31
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.8
3
"
/>
app:layout_constraintVertical_bias=
"0.8
21
"
/>
</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