At this stage of the application custom animations and styles will be implemented. Components such as view properties/property animators, animationListeners, and Activity Transitions will be added to make these features possible.
Goals: Understand how and when to implement different types of animations within your app and style my app
- User sees a transition animation when going from the main screen to the add card screen.
- User sees a reveal animation when the flashcard is tapped and the answer is shown
- User sees flashcards animating in / out when the 'next' button is tapped
- Extra styling is added!
- User sees a countdown timer for each question
- User sees a 'card flip' animation when the card is tapped
- User sees a celebration animation with confetti when they answer a question correctly
The Flashcard app was started by building and focusing on how to add and customize views to be displayed on the screen. The end goals has changed and evolved to having a basic Flashcard app that can display a question, and on tap display the answer to the question, allowing users to create their own flashcard (this includes displaying the user created card). Now users are able to add to a database to store those questions and answers for future use.
Flash cards can now be viewed and new ones can now be created, so every time you close the app, all your flash cards are no longer lost! The Flashcard app has the added ability to save data. Multiple user created cards can be revisited on the app to review their cards.
Goals: Understand how to handle navigation and pass data around within an app, Create and view database for flashcards
Lab 1:
- Create New Project in Android Studio
- Add a view for the front side of the flashcard to display the question
- Add a view for the back side of the flashcard to display the answer
- Build in logic to show the answer side when the card is tapped
- Push code to GitHub
Lab 2:
- User can click on a ‘+’ button that takes the user to new ‘Add Card Screen’
- The 'Add Card Screen' has a cancel button to take the user back to the main screen
- User can enter and submit a Question and Answer through the 'Add Card Screen'
- User will see the card they just created on the main screen when they press the 'Save Button'
- Push your progress to GitHub!
Lab 3:
- User can create a card and still see their created card when the app is relaunched.
- User can create muliple cards and browse through all created cards
Lab 1:
- toggle the flashcard between the question side and the answer side
- Style the question and answer side of the card to better distinguish between the two sides
- Add selectable multiple choice answers beneath the card
- Change the background color of the multiple choice answers when clicked to indicate whether the question waanswered correctly
- Further customize and style the card
Lab 2:
- User can edit a card
- An error message is shown if the user doesn't enter both a Question and an Answer
- A notification is shown if the card was created successfully
- User can also enter multiple choice answers when creating a card
- App is further styled and customized!
Lab 3:
- User can delete a card and no longer see it in their deck anymore
- Flashcards are shown in random order instead of the order they were created in
- User can edit a card and see the edit saved when they browse through their deck of cards
- User can create flashcards with multiple answers and be able to browse through cards with multiple choice answers shown
