Android Studio 2.2 Adds Layout Editor, More

Android Studio 2.2 Adds Layout Editor, More

Android app developers can grab a big update for Android Studio today. Version 2.2 adds a new visual layout editor, support for all the latest developer features in Android 7.0 Nougat, and much more.

I’ve been using Android Studio for the past few months while participating in the inaugural session of Udacity’s Android Basics Nanodegree, so I’ve really come to understand its highs and lows, not to mention how Android development measures up to Visual Studio on Windows or Xcode on macOS. And on that note, any improvements to the core dev product are, of course, as appreciated as they are necessary.

Windows Intelligence In Your Inbox

Sign up for our new free newsletter to get three time-saving tips each Friday — and get free copies of Paul Thurrott's Windows 11 and Windows 10 Field Guides (normally $9.99) as a special welcome gift!

"*" indicates required fields

This field is for validation purposes and should be left unchanged.

The new visual layout editor is perhaps the most interesting bit here, for me, since I’ve been creating layouts manually with XML during the course. (I do see that some other similar courses, like Udemy’s Master Android 7 App Development—which is just $19 right now, by the way—do already cover this functionality. And of course, the cynical part of me will note that Visual Basic offered something like this about 20 years ago.

Anyway. Here’s what Google says is new in Android Studio 2.2.

Layout Editor. A new user interface designer makes creating Android app UIs easier than ever. You can plot out the structure of your app UI with a new blueprint mode and adjust the visual attributes of each widget with a new properties panel. You can learn more about this new editor from Google in Build a UI with Layout Editor.

Constraint layout. This new layout type is a flexible layout manager for your app that allows you to create dynamic user interfaces without nesting multiple layouts, Google says. (This is something I’ve had a lot of experience with, go figure.) It is backwards compatible all the way back to Android API level 9 (Gingerbread) and works best with the new layout editor in Android Studio 2.2. You can learn more about this new layout type in Build a Responsive UI with ConstraintLayout.

Improved C++ support. You can now use CMake to compile your C++ projects from Gradle, and migrate CMake build systems to Android Studio seamlessly.

Instant Run improvements First introduced in Android Studio 2.0, Instant Run is Google’s “major, long-term investment to make Android development as fast and lightweight” as possible. In 2.2 Google has made stability and reliability improvements, and asks that devs who previously disabled this feature give it another shot.

APK analyzer. Now, you can inspect the contents of your APKs to understand the size contribution of each component.

New virtual sensors in the Android emulator. The Android emulator now includes a new set of virtual sensors controls, such as Accelerometer, Ambient Temperature, Magnetometer and more.

There’s a lot more. Check out this Google Developer post for more information.

 

Tagged with

Share post

Please check our Community Guidelines before commenting

Conversation

There are no conversations

Windows Intelligence In Your Inbox

Sign up for our new free newsletter to get three time-saving tips each Friday

"*" indicates required fields

This field is for validation purposes and should be left unchanged.

Thurrott © 2024 Thurrott LLC