Skip to content
Snippets Groups Projects
Forked from Jilin Zheng / Group3Project
51 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
enter_name_screen.xml 1.60 KiB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/peach_background"
    tools:context=".EnterNameScreen"
    android:layout_gravity="center">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:fontFamily="@font/dbxlnightfever_normal"
        android:text="ENTER YOUR NAME"
        android:textSize="50dp"
        android:textColor="@color/black"
        android:layout_marginTop="150dp"
        android:layout_gravity="center" />

    <EditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:hint="name"
        android:id="@+id/edtTxtName"
        android:textStyle="italic|bold"
        android:fontFamily="@font/dbxlnightfever_normal"
        android:textSize="25dp"
        android:textColor="@color/black"
        android:layout_marginLeft="50dp"
        android:layout_marginRight="50dp"
        android:layout_marginTop="100dp"/>

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/btnName"
        android:fontFamily="@font/dbxlnightfever_normal"
        android:text="Start Game"
        android:textSize="30dp"
        android:layout_gravity="center"
        android:layout_marginTop="50dp"
        android:backgroundTint="@color/lavender_btn"/>

</LinearLayout>