Click here to Skip to main content
15,916,462 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
So I am currently trying to center a button in visual studio, im following a guide since im pretty new to android development, and he is using the Gravity option, he changes it from " " to "1" and it centers the whole button, when i do it, it just changed the text position.
like so: https://i.gyazo.com/6c3c79f5973343730b1b85e2b6c414e1.gif

What I have tried:

I've tried following the guide, replaying it about 13 times to make sure I didnt do anything wrong, reading on google about the Gravity option, but no help.
Posted
Updated 7-Mar-16 4:20am
v3
Comments
Richard MacCutchan 7-Mar-16 3:40am    
Try asking the person who wrote the guide.
devonJones 7-Mar-16 3:46am    
Theya re inactive on YouTube, Its okay now though, I solved it myself.
ZurdoDev 7-Mar-16 9:32am    
Please post something as a solution so this no longer shows as unanswered.
Patrice T 7-Mar-16 10:21am    
Please close the question.

1 solution

Solved by author, just to remove from unanswered.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900