button size minimize in android code example
Example: button size minimize in android
You can achieve this by setting android:minHeight="0dp" for the Button widget. And I guess this behavior is because there is some default value (may be a 48dp) set for Button widgets by the framework considering a minimum touch area