mirror of
https://github.com/AdrianKuta/KahootQuiz.git
synced 2025-09-15 01:24:23 +02:00
This commit modifies the `QuizScreen` to show a "Continue" button once an answer is selected for the current question. The timer bar is hidden when an answer is chosen. Key changes: - **UI Layer (`ui:quiz` module):** - In `QuizScreen.kt`: - Conditionally display either the `TimerBar` or a `FilledTonalButton` with the text "Continue" based on whether `uiState.answer` is null. - The "Continue" button is styled with a grey background and black text. - Added a new string resource `continue_text` in `ui/quiz/src/main/res/values/strings.xml`.
5 lines
152 B
XML
5 lines
152 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<string name="quiz">Quiz</string>
|
|
<string name="continue_text">Continue</string>
|
|
</resources> |