Pictures don’t line up

Asked

Viewed 24 times

1

I’m developing an app to absorb knowledge and I ended up with something a little strange, is the following the function of the app is to open a list of photos (parses an xml, picks up some photos from the folder Assets) and then when he goes to sample the list of photos he is not next to each other.

Classes

1 answer

1


Try to put inside a LinearLayout(horizontal), and checks whether his xml is LinearLayout or RelativeLayout. I recommend that user the RelativeLayout because you can work better.

  • It worked! Thank you!

Browser other questions tagged

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