Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android studio 2.2 layout editor refresh button

can someone help me find the refresh layout button which was there before studio 2.2 to refresh the layout changes?

Have searched every where but cannot find it.The problem is sometimes drawables are not refreshed and reflected in the preview window.

like image 417
drag Avatar asked Sep 22 '16 18:09

drag


People also ask

How to refresh a layout in android Studio?

File->Synchronize . Or equivalently, Ctrl + Alt + Y or the little circle with arrows menu button.

Where is the layout editor in Android Studio?

To make room for the Layout Editor, hide the Project window. To do so, select View > Tool Windows > Project, or just click Project on the left side of the Android Studio screen. If your editor shows the XML source, click the Design tab at the top right of the window.


1 Answers

It's pretty simple to refresh.

Click on the preview screen, make sure that the preview window has the focus, and press R. It should display the progress in the top-right corner while refreshing.

If it doesn't work for any reason, switch to the design tab and press R. It refreshes the layout instantly.

like image 140
Max Avatar answered Oct 21 '22 20:10

Max