In Android Studio how to view what comes off the screen?

Asked

Viewed 500 times

2

I’m using text and an image with that they comes off the screen but with ScrollView sailing is possible but in Android Studio on the small screen is the phone to follow the design what comes out screen you do not see it, I would like to pull the screen up Android Studio to be able to observe and put some buttons

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="match_parent"
    android:layout_height="match_parent">

    <ScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/scrollView">
        <LinearLayout
            android:orientation="vertical"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            >
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textAppearance="?android:attr/textAppearanceLarge"
        android:text="Texto"
        android:id="@+id/textView" />

        </LinearLayout>

            <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
            <ImageView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="@drawable/f1" />
            </LinearLayout>

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content">
                <ImageView
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:background="@drawable/f1" />
            </LinearLayout>




        </LinearLayout>
    </ScrollView>
</RelativeLayout>
  • Do not understand, you want to change the display layout of android studio, not your application?

  • @yes I wanted to visualize outside the screen limit Android Studio

  • @Diegofelipe

  • I also always had this doubt, I had created a piano app so the keys stay off the screen, I zoom in android studio, but I do not know if there is another way to view the items off the screen. I’ve also seen people who create a new virtual device with a screen of about 800x4000 just to use in the preview. I’ve only seen ways of gambiarra even kkkk

  • Well that someone could teach to do this gambiarra or better technical artifice KKKKKK

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.