Google releases Android Studio 2.2 Preview with a new layout designer – Android Authority
Affiliate links on Android Authority may earn us a commission. Learn more.
As you probably know Android Studio is the official Integrated Development Environment (IDE) for creating Android apps. It includes everything you need to design the user interface of your app, plus all the tools you need to code the functionality. Designing the UI can be one of the trickiest parts of the app development process because of the wide diversity of Android screen sizes and resolutions.
One of the big new features in Android Studio 2.2 is the rewritten layout designer and its new constraint layout. There are two ways to build a UI in Android, you can roll-up your sleeves and mess with the XML or you can use the visual layout designer. Android Studio 2.2 want to improve the latter and help you avoid the former. The new layout designer helps you design for Android’s many different device types. Once the layout is done, Android Studio will automatically calculate the constraints for you. The result is that your UIs will resize automatically on different screen sizes!
Another neat new feature of Android Studio 2.2 is the addition of Espresso testing recording. The Espresso testing framework provides APIs for writing user interface tests to simulate user interactions within a single target app. Now with Espresso testing recordings you can start to test your app manually while recording the interactions in Espresso code, which can then be played back to test to UI again and again.
Other improvements include expanded Android code analysis plus the IDE has been aligned with IntelliJ 2016.1, the latest version available from JetBrains. There is also better support for non-Gradle based build systems for those developers writing apps using the NDK. Android Studio 2.2 now supports CMake and NDK-Build.
There will be a livestream from Google I/O today (May 19) called “What’s new in Android Development Tools”. The session will provide an in depth tour of the Android development tools and take a closer look at everything new in Android Studio 2.2.
Recent Comments