I am creating a vertical LinearLayout that will be displayed in a vertical ScrollView. I can\'t find a way in Android Studio to see the portion of the LinearLayout that is
Update: Now you can scroll a ScrollView directly inside preview panel (I tested on Android studio version 2.3.2)
Short answer: Right click on your ScrollView and select Refactor > Extract > Layout.
Android-studio will extract your ScrollView into a new layout file and put tools:showIn="@layout/original_layout_file" attribute at root layout(your ScrollView).
Note: Android-studio will preview full layout if root layout is ScrollView.