- [Narrator] Our Recyclerview shows the title…of each recipe.…Let's add an activity to our app…so that we see the description for the recipe…when we click on the title.…First, let's make the layout file.…Copy and paste activity_main.xml…into activity_recipe.xml…Instead of the top level Recyclerview…we will need to change it so that we have a linear layout…containing a title and description both text views.…
And then, we can do rep the whole layout linear layout…in a scroll view so that if the recipe is very long…we can scroll to look at the whole recipe.…Change the top level tech to scrollview.…At the last line, add the name tag…so that we can add linear layout inside.…Since this is no longer a text view,…delete the line in line nine for the text.…Instead, we are going to add an attribute…called android: fillviewport, set it to true…so that if the recipe is short…it will still fill up the whole screen.…
Inside the scroll view, we are going to add a linear layout.…Give it a width of match_parent and height of wrap_content.…
- Why test?
- Local vs. on-device
- Code coverage
- UI testing
- Hermetic environment
- Dependency injection
- Testing with MVP
Skill Level Intermediate
1. Testing Considerations
2. Test as You Go
3. UI Testing
4. Hermetic Environment
5. Robot Pattern
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.