|
|
@ -42,18 +42,17 @@ fun QuizEndPage(idQuiz: Int, points: Int, navControllerQuizMenu: () -> Unit) {
|
|
|
|
modifier = Modifier
|
|
|
|
modifier = Modifier
|
|
|
|
.fillMaxWidth()
|
|
|
|
.fillMaxWidth()
|
|
|
|
.weight(0.1f)
|
|
|
|
.weight(0.1f)
|
|
|
|
.background(Color(0xFF300052))
|
|
|
|
|
|
|
|
.padding(20.dp),
|
|
|
|
.padding(20.dp),
|
|
|
|
horizontalArrangement = Arrangement.SpaceBetween,
|
|
|
|
horizontalArrangement = Arrangement.SpaceBetween,
|
|
|
|
verticalAlignment = Alignment.CenterVertically
|
|
|
|
verticalAlignment = Alignment.CenterVertically
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
Image(
|
|
|
|
Image(
|
|
|
|
painter = painterResource(id = R.drawable.quiz),
|
|
|
|
painter = painterResource(id = R.drawable.profile_icon),
|
|
|
|
contentDescription = "Profil",
|
|
|
|
contentDescription = "Profil",
|
|
|
|
modifier = Modifier.size(50.dp).background(Color.Yellow, CircleShape)
|
|
|
|
modifier = Modifier.size(50.dp)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
Image(
|
|
|
|
Image(
|
|
|
|
painter = painterResource(id = R.drawable.quiz),
|
|
|
|
painter = painterResource(id = R.drawable.toggle),
|
|
|
|
contentDescription = "Profil"
|
|
|
|
contentDescription = "Profil"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -97,30 +96,6 @@ fun QuizEndPage(idQuiz: Int, points: Int, navControllerQuizMenu: () -> Unit) {
|
|
|
|
color = Color.White,
|
|
|
|
color = Color.White,
|
|
|
|
style = TextStyle(fontSize = 15.sp, fontWeight = FontWeight.Bold, textAlign = TextAlign.Center)
|
|
|
|
style = TextStyle(fontSize = 15.sp, fontWeight = FontWeight.Bold, textAlign = TextAlign.Center)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
Row (
|
|
|
|
|
|
|
|
modifier = Modifier
|
|
|
|
|
|
|
|
.fillMaxWidth(),
|
|
|
|
|
|
|
|
horizontalArrangement = Arrangement.SpaceAround
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
// Bouton Quiz Précédent
|
|
|
|
|
|
|
|
Image(
|
|
|
|
|
|
|
|
painter = painterResource(id = R.drawable.quiz),
|
|
|
|
|
|
|
|
contentDescription = "Profil",
|
|
|
|
|
|
|
|
modifier = Modifier.size(50.dp).background(Color.Yellow, CircleShape)
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
// Bouton Retour Menu Quiz
|
|
|
|
|
|
|
|
Image(
|
|
|
|
|
|
|
|
painter = painterResource(id = R.drawable.quiz),
|
|
|
|
|
|
|
|
contentDescription = "Profil",
|
|
|
|
|
|
|
|
modifier = Modifier.size(50.dp).background(Color.Yellow, CircleShape)
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
// Bouton Quiz Suivant
|
|
|
|
|
|
|
|
Image(
|
|
|
|
|
|
|
|
painter = painterResource(id = R.drawable.quiz),
|
|
|
|
|
|
|
|
contentDescription = "Profil"
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -136,9 +111,9 @@ fun QuizEndPage(idQuiz: Int, points: Int, navControllerQuizMenu: () -> Unit) {
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
// Bouton Likes
|
|
|
|
// Bouton Likes
|
|
|
|
Image(
|
|
|
|
Image(
|
|
|
|
painter = painterResource(id = R.drawable.quiz),
|
|
|
|
painter = painterResource(id = R.drawable.like_icon),
|
|
|
|
contentDescription = "Bouton",
|
|
|
|
contentDescription = "Bouton",
|
|
|
|
modifier = Modifier.size(50.dp).background(Color.Yellow, CircleShape)
|
|
|
|
modifier = Modifier.size(50.dp)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
// Bouton WhatTheFantasy
|
|
|
|
// Bouton WhatTheFantasy
|
|
|
|
Image(
|
|
|
|
Image(
|
|
|
@ -148,9 +123,9 @@ fun QuizEndPage(idQuiz: Int, points: Int, navControllerQuizMenu: () -> Unit) {
|
|
|
|
)
|
|
|
|
)
|
|
|
|
// Bouton Quiz
|
|
|
|
// Bouton Quiz
|
|
|
|
Image(
|
|
|
|
Image(
|
|
|
|
painter = painterResource(id = R.drawable.quiz),
|
|
|
|
painter = painterResource(id = R.drawable.quiz_icon),
|
|
|
|
contentDescription = "Bouton",
|
|
|
|
contentDescription = "Bouton",
|
|
|
|
modifier = Modifier.size(50.dp).background(Color.Yellow, CircleShape)
|
|
|
|
modifier = Modifier.size(50.dp)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|