android studio misalignment login form

Asked

Viewed 89 times

0

I created a login screen in android studio, and I leave everything aligned in the center of the cell screen, but when I run with Avd or genymotion, he plays the form everything to the corner, someone can help me ?inserir a descrição da imagem aqui

1 answer

0


Reindeer the RelativeLayout is a bit boring even, you need to create "anchors" (reference between the elements)(alinhamento entre os elementos).

Usually most people use the Linear Layout, with more layouts inside itself, it’s much simpler !

There are many videos that show how to use the Relative. Take a look at this: https://www.thiengo.com.br/relativelayout-no-android-entendendo-e-utilizando

  • ah yes, now I understand, can you explain to me better the linear layout, or send me links of videos or articles with the example you gave me ? thank you very much from now !!!

  • The one I passed is cool, I’ll see if I can find a tutorial with images. Because it is so much material ready, that it has not seen to do another ! rs

  • Yes, I understand, anyway, thank you very much, I look forward to your return !!!

  • http://www.devmedia.com.br/linear-table-e-relative-layouts-com-android-studio/34127

  • Basically you will make ligações, relacionamentos among the elementos, with the points that each one has, in the tela azul. Usually the first element relates it to the top of the screen and the side, e.g. And so on.

  • got it, I’ll read some more and take a test, thank you very much !!!

Show 1 more comment

Browser other questions tagged

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