Create Amazing Apps With Android Studio 4.0

by Tech Mainstream Staff


June 3, 2020



Android Studio 4.0 was recently released. New features include "a new Motion Editor to help bring your apps to life, a Build Analyzer to investigate causes for slower build times, and Java 8 language APIs you can use regardless of your app’s minimum API level."

Motion Editor On Its Own

The new Motion Editor is a "a powerful interface for creating, editing, and previewing MotionLayout animations." Instead of you normally having to create and alter xml files, the Motion Editor generates them by itself. Editing constraint sets, transitions, keyframes, and view attributes are available options for development.

New and Improved Layout Inspector

Live Layout Inspector essentially debugs your app’s UI in real-time: "With the new Layout Inspector, debugging your UI is much more intuitive by giving you access to data that stays updated with your running app and providing insights on how resources are being resolved." For devices running API 29 level or higher, "a dynamic layout hierarchy that updates as views change, detailed view attributes that also help you determine how resource values are resolved, and a live 3D model of your running app’s UI" features are also available.

Layout Validation Window

For devices with different screen sizes and resolutions the look of your UI can vary. Introducing Layout Validation window. Layout Validation window previews "layouts on different screens and configurations simultaneously, so you can easily ensure your app looks great across a range of devices."

CPU Profiler UI Upgrades

The CPU Profiler is "designed to provide a rich amount of information about your app’s thread activity and trace recordings."

Interesting CPU Profiler features include the following: Android Studio 4.0, CPU recordings are now separated from the main profiler timeline and organized in groups to allow for easier analysis, easier side-by-side analysis, for viewing all thread activity in the Thread Activity timeline, a redesigned System Trace UI where events are uniquely colored for better visual distinction, threads are sorted to surface the busier ones first, and you can now focus on seeing data for only the threads you select and investment in the quality of the CPU profiler, and a significant decrease in the user-reported error rates of recordings since Android Studio 3.6

Other Develop & Profile Features

Besides the improved CPU Profiler, other development features include Smart editor features when writing rules for code shrinking, IntelliJ IDEA 2019.3 platform update, Kotlin Android live templates and Clangd support for C++.

Build and Build

A number of build features have been introduced in the Android Studio 4. A Build Analyzer, Java 8 Language library desugaring in D8 and R8, feature-on-feature dependencies, new options to enable or disable build features, Essential support for Kotlin DSL script files and dependencies metadata are among these features.

Android Studio 4 can be downloaded at the download page. Also feedback on things you like, and issues or features you would like to see is appreciated. Follow the Android Studio development team on Twitter and on Medium.

 

 

Visit Tech Mainstream's homepage for more stories.

 

 TECH IN A SECOND     

Read All News...


Upcoming Tech Events

July 27-28, 2020- gRPC Conf 2020

August 31- September 2, 2020- Digital Transformation Connect

September 15-16, 2020- Automotive Linux Summit

October 13-16, 2020- HR Tech 2020

October 19-22, 2020- TensorFlow World

October 26-29, 2020- Sitecore Symposium

November 9-12, 2020- Dreamforce

November 11-12, 2020- The MarTech Summit

November 17-20, 2020- KubeCon + CloudNativeCon North America

 


Tech Definitions in the News

Arduino is an open-source electronics platform based on easy-to-use hardware and software. It's intended for anyone making interactive projects. Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online

Source: https://www.arduino.cc/en/Guide/Introduction/

Augmented Reality is an enhanced version of reality where live direct or indirect views of physical real-world environments are augmented with superimposed computer-generated images over a user’s view of the real-world, thus enhancing one’s current perception of reality.

Source: https://www.realitytechnologies.com/ augmented-reality/

Chatbot is a piece of software that interacts with users in a conversational way.

Source: https://snatchbot.me/insight/250/ intelligent-chatbots


Deep Learning is a new area of Machine Learning research, which has been introduced with the objective of moving Machine Learning closer to one of its original goals: Artificial Intelligence.

Source: http://deeplearning.net/


DevOps is a set of software development practices that combines software development (Dev) and information technology operations (Ops) to shorten the systems development life cycle while delivering features, fixes, and updates frequently in close alignment with business objectives. Different disciplines collaborate, making quality everyone's job.

Source: https://en.wikipedia.org/wiki/DevOps


Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package.

Source: https://opensource.com/resources/what-docker


Edge computing is a distributed computing paradigm which brings computation and data storage closer to the location where it is needed, to improve response times and save bandwidth.

Source: https://en.wikipedia.org/wiki/Edge_computing


FogHorn is an intelligent Internet of Things ( IoT) edge solution that delivers data processing and real-time inference where data is created.

Source: https://aws.amazon.com/blogs/architecture/foghorn-edge-to-edge-communication-and-deep-learning/


Hybrid Cloud is a computing environment that combines a public cloud and a private cloud by allowing data and applications to be shared between them.

Source: https://azure.microsoft.com/en-us/overview/what-is-hybrid-cloud-computing/


Kubernetes (k8s) is an open-source system for automating deployment, scaling, and management of containerized applications.

Source: https://kubernetes.io/blog/



WWW2 and WWW3 (k8s) are hostnames or subdomains, typically used to identify a series of closely related websites within a domain, such as www.example.com, www2.example.com, and www3.example.com; the series may be continued with additional numbers: WWW4, WWW5, WWW6 etc. 

Source: https://en.wikipedia.org/wiki/WWW2


Did You Know?

Duck Duck Go Search Engine has six different themes to choose from for its search interface.