I just found I cannot remove the space between 2 buttons even if I set the layout_marginRight
and layout_marginLeft
as below. But it make sense if
Try changing the color of the button, because the default interface of the button which is native to android is actually smaller than it's size, and it's center-fitted to make it look cool.
Change it's background to black or something and you'll see the real size of the button.
android:background="#000"