diff --git a/app/src/main/java/fr/iutlille/ctp2024/MainActivity.java b/app/src/main/java/fr/iutlille/ctp2024/MainActivity.java index 3189b9f5f1e7477e475cf9b8195db7fd29a65af5..d5fbe74a03285e7e150d22692358be1d446cf366 100755 --- a/app/src/main/java/fr/iutlille/ctp2024/MainActivity.java +++ b/app/src/main/java/fr/iutlille/ctp2024/MainActivity.java @@ -9,6 +9,6 @@ public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); + setContentView(R.layout.super_tache); } } \ No newline at end of file diff --git a/app/src/main/res/layout/super_tache.xml b/app/src/main/res/layout/super_tache.xml new file mode 100644 index 0000000000000000000000000000000000000000..a3c7b73fd3299621101f098bb1da710b4410dc52 --- /dev/null +++ b/app/src/main/res/layout/super_tache.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.constraintlayout.widget.ConstraintLayout 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"> + + <LinearLayout + android:layout_width="409dp" + android:layout_height="729dp" + android:layout_marginStart="1dp" + android:layout_marginTop="1dp" + android:layout_marginEnd="1dp" + android:layout_marginBottom="1dp" + android:orientation="vertical" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + + <TextView + android:id="@+id/textView" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="Super Tâches" + android:textAlignment="center" + android:textSize="60sp" /> + + <Button + android:id="@+id/button" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="Mes tâches" /> + + <Button + android:id="@+id/button2" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="Quitter" /> + </LinearLayout> +</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file