Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How To Add more Frame Like Nexus 6P,5X etc in Screenshots in Android studio

I am true Lover of Android studio...

There is one awesome plugin inside Android monitor is SCHREEN CAPTURE as like below image.

enter image description here

Its great to capture emulator screen.

My Question

In screen capture there is one option Frame screenshot and i can select device for frame of my screen shot.

But there is only 4 device list

  • nexus s
  • nexus one
  • generic phone
  • generic tablet

How to add more device frame.

Is there any way?

Waiting for your suggestion.

enter image description here

Edited

NOTE: i dont want xml screenshots from preview tab because its not runtime screen.

like image 851
Vishal Patel Avatar asked Dec 30 '15 06:12

Vishal Patel


2 Answers

The depends on the device resolution.

If you are trying to capture screenshot on an emulator with 768x1280 resolution, it will show you devices with that resolution (eg. nexus 4, nexus s, etc.), where as if you are running an emulator with 1080x1920 resolution, it will show you devices with that resolution (eg. nexus 5, nexus 5x, etc.)

like image 142
Jaydeep Solanki Avatar answered Oct 23 '22 16:10

Jaydeep Solanki


Works on mac: (Should be something similar on windows or linux too)

Find device-art-resources folder in Android studio installation location/contents.

Path: /Applications/Android Studio.app/Contents/plugins/android/lib/device-art-resources

Edit : Create your folder with any custom frame you need. Edit device-art.xml as you need

I just edited Generic Phone text to make sure it works..

enter image description here

like image 7
arbrcr Avatar answered Oct 23 '22 16:10

arbrcr