如题

解决方案 »

  1.   

    http://disanji.net/2010/12/16/android-custom-button-sample/
    参考
      

  2.   


    <Button android:id="@+id/btnl00" android:layout_width="84px" android:layout_height="28px"  android:layout_x="1px" android:layout_y="87px" android:clickable="false" android:background="@drawable/white"></Button>
    <Button android:id="@+id/btnl01" android:layout_width="84px" android:layout_height="28px"  android:layout_x="1px" android:layout_y="117px" android:clickable="false" android:background="@drawable/white"></Button>
    button的背景色设置成白色,导致button的边框看不到,所以我们可以在每个button之间留2px的距离,然后就可以看到每个button的区别,要不会看到的是连成一片~~~