android去掉两个Button之间的间距android的button之间会有一定间隔。如何去除两个button之间的间隔?图像 1.png 要用到android:layout_marginLeft等参数调整,而且LinearLayout和RelativeLayout都可以的,不过需要注意的是: 外边框:android:layout_marginLeft等参数的默认数值为0dp,但相邻两个控件之间会自动添加8dp,如果想一个挨一个的话,android:layout_marginLeft="-8dp"。版权声明:本文为yangxi_001原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。原文链接:https://blog.csdn.net/yangxi_001/article/details/8988174