I have a long Screen, and i set ScrollView, but in Preview screen in Android Studio i do not see part of the Screen. How i can see it?
To open the Layout Inspector, first launch your app on a connected device or emulator. Then open Android Monitor window, select your device and app process, and then click Layout Inspector . You can also open it by clicking Tools > Android > Layout Inspector in the menu bar.
I found another & pretty cool solution. It's not about size of the layout in preview. You can simulate scrolling instead, to see the hidden content.
Use with tools, as it has influence only in preview. Then increase/decrease value for "scroll".
<YourRootViewOfAnyType xmlns:tools="http://schemas.android.com/tools" ... tools:layout_marginTop="-200dp" ... > </YourRootViewOfAnyType>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With