In this video we look at how Xamarin Inspector can be used to compare two native UI structures in an Android application.
- [Instructor] Let's use inspector to visualize…exactly how the same view can be laid out…in different ways in Android.…First we're going to open a new project,…and we're going to go in File, Open, Project Solution,…and open the solution under the 02_02 folder.…The Android project has two versions…of the same screen design.…One layout using a nested linear layout,…and the other, a relative layout.…The Android developer site states each widget…and layout you add to your application…requires initialization, layout, and drawing.…
For example, using nested instances of linear layouts…can lead to an excessively deep view Hierarchy.…Let's take a look at what they mean by this…by viewing our app in the inspector.…I'm going to go in and make sure our Droid application…is set as a startup project,…and run it on the emulator.…Now that it's running on the emulator,…I'm going to take a look at our linear layout design.…And we'll start the inspector under Debug, Live Inspect.…
Here we have the app running in the inspector,…
- Working with tuples
- Using C# throw expressions
- Inspecting UI structures with Xamarin Inspector
- Identifying memory leaks in iOS and Android
- Recording and playing back tests with Test Record
- Using embedded assemblies in Android
Skill Level Intermediate
1. C# 7 Language Improvements
Inspecting UI structures3m 34s
4. Test Recorder
5. Embedded Assemblies
Where to go from here1m 54s
- 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.