Android Development Essential Training: Support Multiple Screens

Author

Released

8/7/2017

In this installment of the Android Development Essential Training series, David Gassner explains how to build mobile apps for Android that support multiple screens and devices. He begins by discussing Android market fragmentation, and then explains how to set the minimum SDK level and check the current device's screen size programmatically. Next, he covers how to work with multiple screens, explaining how to create alternative resource directories that the app framework can recognize and use to ensure that particular elements—such as string values, dimensions, and graphics—appear the way you want them to on different devices. To wrap up, David shows how to work with fragments to create dynamic UIs.

Skill Level Beginner

1h

Duration

16,096

Views

Show MoreShow Less

- [David] I'm David Gassner.Welcome to this course on supporting multiple screensand devices in Android.This course is one in a seriesabout the essentials of Android app development.I'll start with a survey of Android market fragmentation,and then I'll describe some programming techniquesyou can use to detect the operating system versionand the screen size of a device when your app is running.I'll then show youhow to create alternative resource directoriesthat the app framework can recognize and useon different devices and in different states.

And then I'll offer an introduction to the Fragments API,a critical component of the Android SDKand the support librariesthat lets you break down a user interfaceinto pieces known as fragmentsand then put them back together in different waysbased on the current screen size and orientation.I hope this course is usefulas you learn how to build mobile apps for Android.