Hello,

I create markup for android devices for different screen sizes. Because Download the application each time to see the result in the Android device for a long time, I would like to configure everything in the design mode in Android Studio.

In the application, the page is quite long, so on the phone screen the entire application does not fit, in connection with this, I use scrolling (ScrollView). When you start the application, scrolling works fine. However, when I edit the xml markup in design mode, there is no scrolling per se. It turns out all the markup that is behind the screen for me to view is not available.

Is it possible to scroll the screen somehow to see the markup behind the smartphone screen in design mode when editing xml markup (layout)?

Thank you in advance for all the help.

    1 answer 1

    In the version of Android Studio to 2.1 inclusive scrolling in the visual designer is not possible.

    In the new version of Android Studio 2.2, which was introduced the other day and is now available in the form of a Preview, the editor of the visual markup has undergone very significant changes and now this possibility has appeared (the scroll is done with the mouse wheel)

    scrn

    As you can see in the screenshot, the view is scrolled to the bottom widget (TimePicker)

    • @ pavlofff, thanks a lot for the answer, now everything has become clear. - foxis