Show all content of a layout in the preview of Android Studio

0

Hello,

I would like to know how (if possible) to show the entire contents of a layout in the preview of Android Studio.

Here is an example image:

The blue marking is a button that is in the layout, but I can not manipulate or preview it without compiling the App.

Thank you in advance.

    
asked by anonymous 08.08.2016 / 23:21

2 answers

1

I was able to find an answer to that.

You just need to add a new Device to "Your Virtual Device" with a size you want (by adding a height that is to your liking / project).

See more here: link

    
09.08.2016 / 00:17
2

You should put your entire layout inside a scroll view that is a scrollbar if not the small devices it will display

    <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"  
 android:layout_width="match_parent"  
 android:layout_height="match_parent"  
 android:orientation="vertical">  

<!-- Todo conteudo -->

 </ScrollView> 

in this blog link will teach you the way forward

    
09.08.2016 / 18:08