Skip to content
Snippets Groups Projects
Forked from Jilin Zheng / Group3Project
54 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
game_over_screen.xml 1.22 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" />

</LinearLayout>