Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Android Studio 3

You're reading from   Mastering Android Studio 3 Build Dynamic and Robust Android applications

Arrow left icon
Product type Paperback
Published in Aug 2017
Publisher
ISBN-13 9781786467447
Length 220 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Kyle Mew Kyle Mew
Author Profile Icon Kyle Mew
Kyle Mew
Arrow right icon
View More author details
Toc

Multiple screen previewing

One of the most interesting challenges an Android developer faces is the bewildering number of devices that employ it. Everything from wristwatches to widescreen televisions. It is rare that we would want to develop a single application to run across such a range, but even developing layouts for all mobile phones is still a daunting task.

Fortunately, this process is aided by the way the SDK allows us to categorize features such as screen shape, size, and density into broader groups. Android Studio adds another powerful UI development tool, in the form of a complex preview system. This can be used to preview many popular device configurations as well as allowing us to create custom configurations.

In the previous section, we took a look at the ConstraintLayout toolbar, but as you will have noticed, there is a more generic design editor toolbar:

Design...
You have been reading a chapter from
Mastering Android Studio 3
Published in: Aug 2017
Publisher:
ISBN-13: 9781786467447
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime