Lecture 11: Layouts & Resource Management

This lecture looks at how the View and ViewGroup classes form the basis of Android widgets and layouts. It then considers the different layout options available in Android. After that, it explores how layouts and other kinds of app resources are organised in subfolders of res. It considers how Android locates resources in this folder hierarchy. The lecture explains why dp or sp are preferable to px as units for specifying the dimensions of text or drawables. It also discusses how and why an app's text strings are stored in separate resource files.