Android Build a Simple Android App Basic Android Programming Generating a Random Number

It's showing the button in a weird way.

Ok so now I was working in android studio and when I was done with this part i was gonna run it but then the button was aligned vertically in a very small white box with the letters also being vertically. I did everything exactly the same as in the video,i went back and removed some of the code and then it worked. It's starting to screw up about the part where you create that random generator.