Problems with xml in different screen sizes

Asked

Viewed 35 times

0

Good afternoon, I’m not able to understand how it makes the compatibility of various screen sizes in my application, I looked on the internet and youtube and there talks to create a folder within res with the name layout-small which in case would be for small screen sizes but an error keeps appearing in my xml and I can’t run the application... Can anyone help me?

inserir a descrição da imagem aqui

<ImageView
    android:id="@+id/imageView4"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="102dp"
    android:layout_alignParentTop="true"
    android:layout_alignParentStart="true" />
<Button android:id="@+id/button2" android:layout_width="match_parent"
    android:layout_height="wrap_content" android:text="Button" />

1 answer

1


Browser other questions tagged

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