Commit c115fbd7 authored by christopher.foster's avatar christopher.foster

Review Buttons added, no reviews yet

parent ff985e3b
...@@ -49,9 +49,9 @@ public class MainActivity extends AppCompatActivity { ...@@ -49,9 +49,9 @@ public class MainActivity extends AppCompatActivity {
handler.addNewUser(Name.getText().toString(), UserName.getText().toString(), Password.getText().toString()); handler.addNewUser(Name.getText().toString(), UserName.getText().toString(), Password.getText().toString());
//Error Here
// Toast.makeText(getApplicationContext(), Toast.makeText(getApplicationContext(),
// "registration complete\n" + handler.finduser(UserName.getText().toString()), Toast.LENGTH_LONG).show(); "registration complete\n" + handler.finduser(UserName.getText().toString()), Toast.LENGTH_LONG).show();
} }
public void loginBtn (View v) public void loginBtn (View v)
{ {
......
...@@ -237,4 +237,64 @@ air conditioning, ABS brakes, 2 people " ...@@ -237,4 +237,64 @@ air conditioning, ABS brakes, 2 people "
android:text="£8" android:text="£8"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView22" /> app:layout_constraintTop_toBottomOf="@+id/textView22" />
<Button
android:id="@+id/benzReview"
android:layout_width="77dp"
android:layout_height="33dp"
android:layout_marginStart="2dp"
android:layout_marginLeft="2dp"
android:layout_marginTop="7dp"
android:text="Review"
android:textSize="11sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView7" />
<Button
android:id="@+id/toyReview"
android:layout_width="77dp"
android:layout_height="33dp"
android:layout_marginStart="2dp"
android:layout_marginLeft="2dp"
android:layout_marginTop="7dp"
android:text="Review"
android:textSize="11sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView8" />
<Button
android:id="@+id/honReview"
android:layout_width="77dp"
android:layout_height="33dp"
android:layout_marginStart="2dp"
android:layout_marginLeft="2dp"
android:layout_marginTop="7dp"
android:text="Review"
android:textSize="11sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView9" />
<Button
android:id="@+id/jagReview"
android:layout_width="77dp"
android:layout_height="33dp"
android:layout_marginStart="2dp"
android:layout_marginLeft="2dp"
android:layout_marginTop="7dp"
android:text="Review"
android:textSize="11sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView10" />
<Button
android:id="@+id/audReview"
android:layout_width="77dp"
android:layout_height="33dp"
android:layout_marginStart="2dp"
android:layout_marginLeft="2dp"
android:layout_marginTop="7dp"
android:text="Review"
android:textSize="11sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView11" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment