Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Save Screenshot option is missing in Android Studio 3.1

I have updated android studio from 3.0.1 to 3.1,now there is no option for directly view the XML file in Android studio 3.0.1 there is option for Save Screenshot enter image description here

Now in update android studio version to 3.1,it's missing

enter image description here

is it moved to any other place?

like image 628
MJM Avatar asked Sep 10 '25 22:09

MJM


1 Answers

There are many changes that have been done into Layout Inspector and Layout Editor in Android Studio Version 3.1.0

Layout Inspector

  1. The Layout Inspector gained new features, including some functionality previously provided by the deprecated Hierarchy Viewer and Pixel Perfect tools:

  2. Zoom buttons and keyboard shortcuts for navigating and inspecting layouts Reference grid overlay Ability to load a reference image and use it as an overlay (useful for comparing your layout with a UI mockup) Render subtree preview to isolate a view in a complex layout

Layout Editor

  1. The Palette in the Layout Editor has received many improvements:

  2. Reorganization of categories for views and layouts.

  3. New Common category for views and layouts, which you can add to with a Favorite command.

  4. Improved search for views and layouts.

  5. New commands for opening documentation for a specific view or layout element.

  6. You can use the new Convert view command in the Component tree or design editor to convert a view or layout to another type of view or layout.

  7. You can now easily create constraints to items near the selected view using the new Create a connection buttons in the view inspector at the top of the Attributes window.

Ref: https://developer.android.com/studio/releases/index.html

But nowhere it is mentioned that this option "Save Screenshot" is deprecated/removed. So I am suspecting this is a bug.

Or if they intentionally removed it, They should have mentioned the reasons.

IMO, This option doesn't make too much sense as you have screenshot option already under Logcat window. Sure you need to run the application to get it. But you can't be sure of your design just seeing it on Editor Preview, it is always recommended to run the application on emulator or a device.

like image 190
TheLittleNaruto Avatar answered Sep 12 '25 13:09

TheLittleNaruto