SAE41_2022/app/src/main/res/layout/menu.xml
2023-03-31 15:46:35 +02:00

47 lines
1.5 KiB
XML

<?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"
tools:context=".MainActivity"
android:screenOrientation="portrait"
android:background="#FFC0CB"
android:gravity="center"
android:orientation="vertical"
>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="40dp"
android:textColor="@color/purple_700"
android:gravity="center"
android:text="JMastermind" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:gravity="center"
>
<Button
android:id="@+id/robotselect"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Joueur vs Robot"
/>
<Button
android:id="@+id/jcjselect"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Joueur contre Joueur" />
<Button
android:id="@+id/rules"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Regles du jeu" />
</LinearLayout>
</LinearLayout>