Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 14. Why are there 2 identical screens (white and green) in the activity_main.xml layout designer?

Android Studio 14.
Why are there 2 screens (white and green) in the activity_main.xml layout designer ?

They appear to do the same thing.

I don't recall this in older versions of Android Studio

like image 388
JackOfAll Avatar asked Jan 24 '23 19:01

JackOfAll


1 Answers

One is for the design and one is the blue print view. Both look at the same xml and just display it differently. It takes into account the visibility of the items. So blue print will contain all the elements where as design takes in all the element + the initial state. So if the view is not visible it should not show up on the design, but should on the blueprint(blue part of the design view).

Its just two ways of viewing the same information.

like image 86
Thomas Morris Avatar answered Jan 27 '23 09:01

Thomas Morris