SAE41_2022/app/src/main/res/layout/menu.xml

53 lines
1.8 KiB
XML
Raw Normal View History

2023-03-24 04:32:22 +01:00
<?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"
2023-04-01 03:17:07 +02:00
android:background="@drawable/space"
2023-03-24 04:32:22 +01:00
android:gravity="center"
android:orientation="vertical"
>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="40dp"
2023-04-01 03:17:07 +02:00
android:textColor="@color/white"
2023-03-24 04:32:22 +01:00
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"
2023-04-01 03:17:07 +02:00
android:backgroundTint="@color/white"
android:textColor="@color/black"
2023-03-24 04:32:22 +01:00
android:text="Joueur vs Robot"
/>
<Button
android:id="@+id/jcjselect"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2023-04-01 03:17:07 +02:00
android:backgroundTint="@color/white"
android:textColor="@color/black"
2023-03-24 04:32:22 +01:00
android:text="Joueur contre Joueur" />
<Button
android:id="@+id/rules"
android:layout_width="wrap_content"
2023-04-01 03:17:07 +02:00
android:backgroundTint="@color/white"
android:textColor="@color/black"
2023-03-24 04:32:22 +01:00
android:layout_height="wrap_content"
android:text="Regles du jeu" />
</LinearLayout>
</LinearLayout>