Skip to content
Snippets Groups Projects
Forked from Jilin Zheng / Group3Project
10 commits behind the upstream repository.
Code owners
game_over_screen.xml 1.92 KiB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
    android:background="@color/peach_background"
    android:gravity="center"
    android:orientation="vertical"
    tools:context=".GameOverScreen">

    <TextView
        android:id="@+id/gameOverText"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:fontFamily="@font/dbxlnightfever_normal"
        android:text="GAME OVER"
        android:textSize="80dp"
        android:textColor="@color/black" />

    <ImageView
        android:src="@drawable/sad_face"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />

    <Button
        android:id="@+id/backButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:backgroundTint="@color/lavender_btn"
        android:fontFamily="@font/dbxlnightfever_normal"
        android:text="Back to Main Menu"
        android:textSize="25dp" />

    <Button
        android:id="@+id/leaderboardButon"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:backgroundTint="@color/lavender_btn"
        android:fontFamily="@font/dbxlnightfever_normal"
        android:text="Leaderboard"
        android:layout_marginTop="30dp"
        android:textSize="25dp" />

    <Button
        android:id="@+id/restartButon"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:backgroundTint="@color/lavender_btn"
        android:fontFamily="@font/dbxlnightfever_normal"
        android:text="Restart"
        android:layout_marginTop="30dp"
        android:textSize="25dp" />

</LinearLayout>