Discover how to build mobile apps for Android that support multiple screens and devices. Learn how to create alternative resource directories, work with fragments to create dynamic UIs, and more.
- [David] I'm David Gassner. Welcome to this course on supporting multiple screens and devices in Android. This course is one in a series about the essentials of Android app development. I'll start with a survey of Android market fragmentation, and then I'll describe some programming techniques you can use to detect the operating system version and the screen size of a device when your app is running. I'll then show you how to create alternative resource directories that the app framework can recognize and use on different devices and in different states.
And then I'll offer an introduction to the Fragments API, a critical component of the Android SDK and the support libraries that lets you break down a user interface into pieces known as fragments and then put them back together in different ways based on the current screen size and orientation. I hope this course is useful as you learn how to build mobile apps for Android.
- Supporting different platform versions
- Setting minimum and target platforms
- Working with multiple screens
- Creating alternative resource directories, XML layout files, and bitmap resources
- Creating dynamic UIs with fragments
- Creating a project with fragments
- Controlling a fragment with Java code