Android Studio 4.0 comes with support for C ++ development, motion editing and more

Several days ago the availability of the new version of Android Studio 4.0, in which various design features, gesture management, among other things are presented.

Of the main changes that are integrated into this new version is the MotionLayout API, the cual Expands ConstraintLayout's extensive capabilities to help Android developers manage complex gestures and widget animations in their applications.

In Android Studio 4.0, using this API is made easier with the new motion editor, a powerful interface for creating, editing and previewing MotionLayout animations.

Another of the changes that stands out in the new version is the new design inspector, debugging your UI is much more intuitive by giving you access to data that is kept up-to-date with your application running and providing information on how resources are resolved.

To be able to use the Live Presentation Inspector, simply select it from the menu “View> Tool Windows> Presentation Inspector”.

In addition to that if you deploy on a device running API level 29 or higher, you have access to additional functions, such as a dynamic design hierarchy which updates as views change, detailed view attributes that also help you determine how resource values ​​are resolved and a live 3D model of the application UI runs.

When developing for multiple formats, screen sizes, and resolutions, you need to make sure that the changes you make to your user interface look good on every screen you support. With the design validation window, you can preview designs on different screens and settings simultaneously, so you can easily ensure that the app looks good on a variety of devices.

Moreover, we can find updates to the CPU Profiler user interface. In Android Studio 4.0, CPU registers are now separate from the main profiler timeline and organized into groups for easy analysis.

For easier side-by-side analysis, now you can see all the thread activity in the activity timeline threading (including methods, functions, and events) and trying out new navigation shortcuts to easily navigate your data, such as using the W, A, S, and D keys for fine-grained pan and zoom.

The team also redesigned the system tracking user interface To make the events a single color for better visual distinction, the threads are ordered so that the most active appears first.

El Basic Android Studio IDE has been updated with improvements over versionss IntelliJ IDEA 2019.3 and 2019.3.3. These improvements are primarily focused on quality and performance improvements through EDI.

Live templates are a useful IntelliJ feature that allows you to insert common constructs into your code by typing simple keywords.

Android Studio now includes Android-specific live templates for the Kotlin code. For example, simply type toast and press the Tab key to quickly enter the master key for a toast. For a full list of available live templates, go to Editor> Live Templates in the Settings (or Preferences) dialog.

Another change that is presented is for developers writing C ++ the IDE is changed to clangd as the primary language parsing engine for code navigation, completion, inspection and display of errors and warnings.

The team has also brought Clang-Tidy along with Android Studio. To configure the behavior of Clangd or Clang-Tidy, it must be done from the EDI Configuration dialog (or Preferences), in Languages ​​and framework> C / C ++> Clangd or Clang-Tidy.

Download and get

Finally, for those who are interested in being able to obtain the new version, they can do so from their official project website.

The link is this. 


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

Be the first to comment

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.