Skip to content
Snippets Groups Projects
Commit 6afa46db authored by Yannis Devos's avatar Yannis Devos
Browse files

Debut de la fonction permettant de récuperer le nombre de tache a faire et urgente

parent 9d5855aa
No related branches found
No related tags found
No related merge requests found
...@@ -24,4 +24,8 @@ public class MainActivity extends AppCompatActivity { ...@@ -24,4 +24,8 @@ public class MainActivity extends AppCompatActivity {
} }
}); });
} }
public void taskCounter(){
}
} }
\ No newline at end of file
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
android:id="@+id/title" android:id="@+id/title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Super Tâches"
android:textAlignment="center" android:textAlignment="center"
android:textSize="50dp" android:textSize="50dp" />
android:text="Super Tâches"/>
<Button <Button
android:id="@+id/myTasks" android:id="@+id/myTasks"
...@@ -30,5 +30,23 @@ ...@@ -30,5 +30,23 @@
android:text="QUITTER" android:text="QUITTER"
app:layout_constraintTop_toBottomOf="@+id/myTasks" /> app:layout_constraintTop_toBottomOf="@+id/myTasks" />
<TextView
android:id="@+id/todo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="A faire : 0"
app:layout_constraintTop_toBottomOf="@+id/quitButton"
android:padding="15dp"
app:layout_constraintRight_toLeftOf="@+id/urgent" />
<TextView
android:id="@+id/urgent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Urgent : 0"
app:layout_constraintTop_toBottomOf="@+id/quitButton"
android:padding="15dp"
app:layout_constraintLeft_toRightOf="@+id/todo" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment