I was wondering how i could set the exact x,y positions of a button in a relative layout. I want to try and not use an absolute layout. When i looked at similar posts most of them only showed how to align things exactly in the center or to the left of the screen, is there a way to align things at an exact position maybe by subtracting the distance from a margin by w/e dpiI was wondering how i could set the exact x,y p