<ImageButton android:layout_width="wrap_content"
android:layout_height="wrap_content" android:id="@+id/imageButtonClear" android:layout_weight="1"></ImageButton>
即在每个按钮中加入
android:layout_weight="1"即可。
转载于:https://my.oschina.net/taisha/blog/69987